This is a demo project that implements a tool for translation of messages to obfuscated Morse code format.
Write a program that will accept text either from stdin, or as a file path and will translate the alphanumeric sentence to Morse code. Then for bonus points, obfuscate the Morse code. Below is a list of international Morse code and the algorithm for obfuscation. Separate letters with pipe (|), and separate words with forward slash (/).
More details here
Checkout the project:
git clone [email protected]:rzaharenkov/code-off.git
Translate text from the file:
bin/code-off spec/test_data/success_test.txt
Run translator in the interactive mode:
bin/code-off
HELLO
4|1|1A2|1A2|C
Use the end of file (Ctrl-D) or terminate (Ctrl-C) to exit.