GithubHelp home page GithubHelp logo

nitbravoa92 / decode-morse-code-message Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 8 KB

"Decode Morse code" is a program in Ruby that can helps you to decode a morse code message.

License: MIT License

Ruby 100.00%
morse-code rubocop ruby ruby-gem

decode-morse-code-message's Introduction

Decode Morse code | Ruby Project

πŸ“— Table of Contents


Decode Morse code

"Decode Morse code" is a program in Ruby that can helps you to decode a morse code message. This project is part of the Microverse curriculum.


πŸ›  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/NitBravoA92/decode-morse-code-message.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 aplicable.

Deployment

  • Not aplicable.

(back to top)


πŸ‘₯ Authors

πŸ‘€ Nitcelis Bravo

πŸ‘€ Ruth Abreu

(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 advice and time.

(back to top)


πŸ“ License

This project is MIT licensed.

(back to top)


decode-morse-code-message's People

Contributors

nitbravoa92 avatar ruthmy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.