Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.02 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.02 KB

README

This is a demo project that implements a tool for translation of messages to obfuscated Morse code format.

Challenge

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

How to use

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.

Code Status

Build Status