Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jmoseka/decode-morse-code

A ruby program that debugs a morse code into a normal readable language
https://github.com/jmoseka/decode-morse-code

ruby

Last synced: about 1 month ago
JSON representation

A ruby program that debugs a morse code into a normal readable language

Awesome Lists containing this project

README

        

# MorseCode

> Using Ruby to solve basic coding challenges and decode morse code.

## Setup

- Install Ruby in local environment.
- Run a program using command line.

## Prerequisites

- Understand Ruby basic syntax
- No linter errors.

### Project requirements

- Create a method to decode a Morse code character, takes a string parameter, and return the corresponding character in uppercase (e.g. decode_char(".-") returns "A").

- Create a method to decode an entire word in Morse code, 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").

- Create a method to decode the entire message in Morse code, takes a string parameter, and return the string representation. Every word will be separated by 3 spaces (e.g.

decode("-- -.-- -. .- -- .")
returns "MY NAME").

- Make sure that your code is DRY.

### Getting Started

To view the morse code;

a) Clone the project

```terminal
[email protected]:jmoseka/decode-morse-code.git
```
b) View the folder
- cd into the project directory

```terminal
cd MorseCode.git
```

- **Congrats!** you can now view the queries in your local computer.

## Authors

## Author 1:

👤 **Jamila Moseka**

- GitHub: [@jmoseka](https://github.com/jmoseka)
- Twitter: [@milamoseka](https://twitter.com/milamoseka)
- LinkedIn: [jamila-moseka](https://linkedin.com/in/jamila-moseka)

## Author 2:
👤 **Brian Nyachae**

- GitHub: [@githubBria222](https://github.com/Bria222)
- Twitter: [@briannyachae9](https://twitter.com/briannyachae9)
- LinkedIn: [Brian-Nyachae](https://linkedin.com/in/brian-nyachae)

## Author 3:
👤 **Hammed Adisa**

- GitHub: [@AbuRayhaan](https://github.com/aburayhaan)
- Twitter: [@ayinla2011](https://twitter.com/Ayinla2011)
- LinkedIn: [Hammed Adisa](https://linkedin.com/in/hammed-adisa)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Hat tip to anyone whose code was used
- Inspiration
- etc

## 📝 License

This project is [MIT](https://github.com/jmoseka/decode-morse-code/blob/decode-morse-code/LICENSE) is licensed.