Giter Club home page Giter Club logo

morse_code's Introduction

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)


morse_code's People

Contributors

abutalha3 avatar uzair-manzoor avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.