Skip to content

Uzair-Manzoor/MorseCodeDecoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decode Morse code | Ruby Project

📗 Table of Contents


Decode Morse code

[Morse Code] It can be used to Create a method to decode/interpret a Morse code character and turn into Alphabets to comprehend. Moris Code is basically an old signal system made with dash and dots. Morse code can be memorized and sent in a form perceptible to the human senses, e.g. via sound waves or visible light, such that it can be directly interpreted by persons trained in the skill. Morse code is usually transmitted by on-off keying of an information-carrying medium such as electric current, radio waves, visible light, or sound waves.


🛠 Built With

Tech Stack

Ruby

Key Features

  • Ruby
  • Linters
    • Rubocop
  • Follow Microverse's list of best practices

(back to top)


🚀 Live Demo


  • Unfortunately, there is no live demo available for this project at the moment.

(back to top)


💻 Getting Started

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

Prerequisites

In order to run this project you need:

  • A code editor (we recommend Visual Studio Code)

  • Git and a GitHub account

Setup

Clone this repository to your desired folder by using this 👇️ command :

git clone https://github.com/Uzair-Manzoor/MorseCodeDecoder.git

Install

Go to the project directory:

 cd decode-morse-code-message

Before to run the program, verify that you have Ruby installed on your OS running the following command:

 ruby -v

It should show you the version of ruby ​​installed. If this does not happen and only an error message is displayed, then you should either verify your installation or install Ruby from scratch.

Download and Install Ruby

Usage

Run the following command inside the project folder:

 ruby morse_code_challenge.rb

This will display the following output:

 A
 HELLO
 HELLO WORLD

This is just a test code. If you want to decode other morse code, you must open the morse_code_challenge.rb file using the code editor of your choice and change the argument in the decode_sentence function call at the end of the file:

sentence = decode_sentence('add-here-the-morse-code-you-want-to-decode')

Run tests

  • Not applicable.

Deployment

  • Not applicable.

(back to top)


👥 Authors

👤 Uzair Manzoor

👤 Abu Talha

(back to top)


🔭 Future Features

Upcoming improvements:

  • [] Improve the algorithm to decode morse code.

(back to top)


🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)


⭐️ Show your support

If you like this project and know someone who might find it helpful, please share it. Or give it a star ⭐️ if you like this project!

(back to top)


🙏 Acknowledgments

I thank Microverse for this fantastic opportunity, and the code reviewers for their precious time, advice and feedback.

(back to top)


📝 License

This project is MIT licensed.

(back to top)


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages