"Decode Morse code" is a program in Ruby that can helps you to decode a morse code message. This project is part of the Microverse curriculum.
- Ruby
- Linters
- Rubocop
- Follow Microverse's list of best practices
- Unfortunately, there is no live demo available for this project at the moment.
To get a local copy up and running, follow these steps.
In order to run this project you need:
A code editor (we recommend Visual Studio Code)
Git and a GitHub account
Clone this repository to your desired folder by using this ποΈ command :
git clone https://github.com/NitBravoA92/decode-morse-code-message.git
Go to the project directory:
cd decode-morse-code-message
Before to run the program, verify that you have Ruby installed on your OS running the following command:
ruby -v
It should show you the version of ruby ββinstalled. If this does not happen and only an error message is displayed, then you should either verify your installation or install Ruby from scratch.
Run the following command inside the project folder:
ruby morse_code_challenge.rb
This will display the following output:
A
HELLO
HELLO WORLD
This is just a test code. If you want to decode other morse code, you must open the morse_code_challenge.rb
file using the code editor of your choice and change the argument in the decode_sentence
function call at the end of the file:
sentence = decode_sentence('add-here-the-morse-code-you-want-to-decode')
- Not aplicable.
- Not aplicable.
π€ Nitcelis Bravo
- GitHub: Nitcelis Bravo
- Twitter: @softwareDevOne
- LinkedIn: Nitcelis Bravo Alcala
π€ Ruth Abreu
Upcoming improvements:
- [] Improve the algorithm to decode morse code.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project and know someone who might find it helpful, please share it. Or give it a star βοΈ if you like this project!
I thank Microverse for this fantastic opportunity, and the code reviewers for their advice and time.
This project is MIT licensed.