Skip to content

rzaharenkov/code-off

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demo Morse code translator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages