![logo](/luigirazum/morsecodemsg-decoder/raw/dev/morsecode-logo.png)
Embark on a thrilling Morse code decoding journey with our Ruby project. Discover hidden messages, grasp Ruby syntax, and unveil the mysteries of language cryptography. Unlock Morse code secrets now!
- 📨 MorseCode Message Decoder
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- 📝 License
Embark on a thrilling Morse code decoding journey with our Ruby project. Discover hidden messages, grasp Ruby syntax, and unveil the mysteries of language cryptography. Unlock Morse code secrets now!
During your vacation at the seaside, time after time you find old bottles with parchment inside. Out of curiosity, you look into the next bottle and see that there is a message written in Morse code. Your curiosity grows even more - maybe you just found the lost treasure of the pirates! However, you are getting tired of decrypting messages manually. Fortunately, you can program in Ruby and you can help yourself by automating this process.
Let's not waste time, the pirate treasure awaits! Let's get to work.
-
Takes a string parameter, and return the corresponding character in uppercase
- e.g.
decode_char(".-")
returns "A".
- e.g.
-
Takes a string parameter, and return the string representation.
-
Every character in a word will be separated by a single space
- e.g.
decode_word("-- -.--")
returns "MY".
- e.g.
- Takes a string parameter, and return the string representation.
- Every word will be separated by 3 spaces
- e.g.
decode("-- -.-- -. .- -- .")
returns "MY NAME".
- e.g.
To get a local copy of this project up and running, follow these steps.
-
- In order to run this project locally you need
git
installed. Please got to Getting Started - Installing Git guide and follow the steps described for your system to installgit
. - Also you must have
Ruby
installed, you can go to the Installing Ruby documentation and follow the steps for your computer OS.
- In order to run this project locally you need
-
Clone this repository to your desired folder:
cd my-folder git clone git@github.com:luigirazum/ruby-morsecode-decoder.git cd ruby-morsecode-decoder
-
In the
ruby-morsecode-decoder
folder, use the following code to run the appruby decoder.rb
👨💻 Luis Zubia
👤 Misal Azeem
- Add custom message decoding.
- Add special symbols decoding.
- Show the decoded message more colorfully.
Contributions, issues, typos, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, your support giving a ⭐ will be highly appreciated.
- We would like to thank all those people that have helped us to be good programmers.
This project is MIT licensed.