Following the TOP (The Odin Project) course and creating the hangman game to practice my skills in Ruby files and serialization.
You will be building a command line Hangman game where one player plays against the computer, but a bit more advanced.
- Clone the repository:
git clone https://github.com/otherdcn/top_hangman.git
- Install dependencies:
bundle install
Use the following command to run the application
- from the root folder:
ruby main.rb
- Run the app and choose the settings for the game: play a saved game, or start a new game.
- Then the guesser can go ahead and start typing guesses.
- After every try, correct or incorrect, the game will ask to save: simply enter y/n.
- After coming back and opening a save, the game will continue from where you left off.
- Guesser is successful if they can guess the full word before the proverbial stick man is hanged.
If you feel the need to try it out and perhaps contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
. - Make your changes.
- Push your branch:
git push origin feature-name
. - Create a pull request.
This project is licensed under the MIT License.