Hangman game in Ruby
Documentation and step-by-step development by OG Intern Fabien Brathwaite
RUBY and RUBY2D
- Run the
ruby hangman.rb
command in the terminal. - You have six chances to guess the correct word.
- Enter the letters you think the word has, if the letter is in the word it will show on the blue line, if not it will show as an incorrect guess and you will lose one of your guesses.
- Press spacebar to restart the game.