Hangman
Hangman is a guessing game for two or more players. One player thinks of a word, phrase or sentence and the other(s) tries to guess it by suggesting letters within a certain number of guesses.
In this version, a random word is picked from a list and the user has to guess that word.
Setup
- Clone the repository:
git clone https://github.com/jatinbaweja/hangman.git
-
Install the latest Ruby package
-
Run the code inside the directory:
ruby hangman.rb