https://github.com/luigirazum/morsecodemsg-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!
https://github.com/luigirazum/morsecodemsg-decoder
Last synced: 4 months ago
JSON representation
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!
- Host: GitHub
- URL: https://github.com/luigirazum/morsecodemsg-decoder
- Owner: luigirazum
- License: mit
- Created: 2023-07-19T15:44:26.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-07-20T09:52:34.000Z (about 2 years ago)
- Last Synced: 2025-04-30T18:37:40.643Z (6 months ago)
- Language: Ruby
- Size: 54.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
### 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](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [💻 Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Run](#run)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License](#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.
## 🛠 Built With
#### 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".
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](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and follow the steps described for your system to install `git`.
- Also you must have `Ruby` installed, you can go to the [Installing Ruby](https://www.ruby-lang.org/en/documentation/installation/) documentation and follow the steps for your computer OS.
- ### Setup
Clone this repository to your desired folder:
```sh
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
```rb
ruby 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](../../issues/).
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](./LICENSE) licensed.