An open API service indexing awesome lists of open source software.

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!

Awesome Lists containing this project

README

          

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](#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)


# 📨 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

- ### Tech Stack

- ### 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](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
```

(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](../../issues/).

(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](./LICENSE) licensed.

(back to top)