Little games to play with Morse Code in the browser
I recently learned Morse code. Long story short, for a while my life took a strange turn where I had full reign over someone else&#x27;s Airbnb, and was free to modify the place in my image. We found this big light fixture meant for the ceiling, but in a moment of divine inspiration put it out on the fire escape and ran the wire to the house server as our &quot;semaphore&quot;. Originally I was going to add server code to translate messages from some API endpoint into Morse. But just to get things off the ground, I set it up as a normal light switch and started keying in messages by hand.<p>I spent a few afternoons keying out random silly &#x2F; vulgar messages. Stuff like &quot;- .... . &#x2F; ..-. -.-. -.-. &#x2F; .-- - -. - &#x2F; .-.. . - &#x2F; -- . &#x2F; -...&quot;, &quot;- .... . &#x2F; .-.. .. --. .... - ... &#x2F; -. --- - &#x2F; - .- .-.. -.- .. -. --. &#x2F; -.-- --- ..- &#x2F; .... .- ...- . &#x2F; --. --- -. . &#x2F; -- .- -..&quot; and &quot;.. -- &#x2F; -- . ... ... .- -.. .. -. -.. &#x2F; .- -... --- ..- - &#x2F; -.-- --- ..- .-. &#x2F; -.-. .- .-. ... &#x2F; . -..- - . -. -.. . -.. &#x2F; .-- .- .-. .-. .- -. - -.--&quot;. At first I had to look at a Morse reference sheet while keying these in, but after a few hours I was no longer looking at the sheet.<p>Moral of the story, it only takes a few bored afternoons to learn Morse. You should do it.