CLI Hangman is a Command Line Interface hangman game where a player is given a random word and 10 chances to guess the correct word.
How to play hangman: https://www.youtube.com/watch?v=cGOeiQfjYPk
Command Line version of hangman: A player is given a random word at the start of the game and 10 chances to guess the correct letters. The player also has the option to guess the correct word. A player is given 10 points for every word they guess correctly. A player can check out the scoreboard to see tops scores and My games to see how many games they have won and lost.
Download or clone the repository. Run 'bundle install' to install the required gems. Run 'ruby bin/run.rb' to play.
https://www.youtube.com/watch?v=1bjs0Mv50yc&feature=youtu.be
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
- New print statement after each turn to avoid monotony
- Avoid global variables to run
- Print a different message when you guess the last letter correctly than if you guessed the whole word
- Don't allow input greater than a single character for a letter guess
Built by Lauren Birts and Phyllis Njoroge, Flatiron Software Engineering Houston 04/20/2020
This project is licensed under the MIT License - see the LICENSE.md file for details.
Last worked on: May 2020