eddie-2020 / hangman-game Goto Github PK
View Code? Open in Web Editor NEWHere in this repo I have created a Hangman game with the following feature: After running the game with the ruby play.rb command The first thing you see is the welcome UI Next you see an empty line now the game informs you to guess a letter that fits in to the word If you got the answers correctly it prints out You are correct Else it prints out: Sorry...you have 9 lives left. Try again! After 10 attempt it prints out: Game over...better luck next time! And the game ends