Skip to content

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!

License

Notifications You must be signed in to change notification settings

luigirazum/morsecodemsg-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

MorseCode Message Decoder

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!

📗 Table of Contents


📨 MorseCode Message Decoder

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.

🛠 Built With

  • Key Features

    1️⃣ Method decode_char to decode a MorseCode character.

  • Takes a string parameter, and return the corresponding character in uppercase

    • e.g. decode_char(".-") returns "A".

    2️⃣ Method decode_word to decode an entire word written in MorseCode.

  • 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".

2️⃣ Method decode to decode the entire message written in MorseCode.

  • Takes a string parameter, and return the string representation.
  • Every word will be separated by 3 spaces
    • e.g. decode("-- -.-- -. .- -- .") returns "MY NAME".

(back to top)

💻 Getting Started

To get a local copy of this project up and running, follow these steps.

  • Prerequisites

    • 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 install git.
    • Also you must have Ruby installed, you can go to the Installing Ruby documentation and follow the steps for your computer OS.
  • Setup

    Clone this repository to your desired folder:

    cd my-folder
    git clone git@github.com:luigirazum/ruby-morsecode-decoder.git
    cd ruby-morsecode-decoder
  • Run

    In the ruby-morsecode-decoder folder, use the following code to run the app

    ruby decoder.rb

(back to top)

👥 Author(s)

👨‍💻 Luis Zubia


👤 Misal Azeem

(back to top)

🔭 Future Features

  • Add custom message decoding.
  • Add special symbols decoding.
  • Show the decoded message more colorfully.

(back to top)

🤝 Contributing

Contributions, issues, typos, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, your support giving a ⭐ will be highly appreciated.

(back to top)

🙏 Acknowledgments

  • We would like to thank all those people that have helped us to be good programmers.

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

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!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages