An open API service indexing awesome lists of open source software.

https://github.com/intellitect/morsecodechallenge

Convert English text to Morse Code (and vice versa)
https://github.com/intellitect/morsecodechallenge

Last synced: 14 days ago
JSON representation

Convert English text to Morse Code (and vice versa)

Awesome Lists containing this project

README

        

# MorseCodeChallenge
Convert English text to Morse Code (and vice versa)

As pairs:
- Work to create a single solution to the challenge
- Check in to remote branch
- Timeboxed to 10hrs

Challenge:
- Convert English text to Morse Code (and vice versa) using the Morse Code format of...
dots : *
dashes: -
no space between parts of a letter
one space between letters
three spaces between words
- Have unit tests

Morse Code chart:
https://en.wikipedia.org/wiki/File:International_Morse_Code.svg

Keep in mind that the length of a dot (*) = 1 unit
A dash (-) = 3 units

A space between letter is no sound for 1 unit
A space between words is no sound for 3 units

example:

Hello World = **** * *-** *-** ---- *-- ---- *-* *-** -**

Depending on how quickly people tackle this, in a week or two we'll meet up again to shuffle partners and take a second crack at this. After that, we'll meet up to review solutions.