Skip to content

cheezy52/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a terminal-based implementation of the game "Hangman". Guess the other player's secret word, letter-by-letter, but don't miss too many times or the noose will tighten!

By default, the human player will be guessing a word picked by the computer player. To change this, edit the "if FILE == $PROGRAM_NAME" section of hangman.rb; you can play with any combination of human and computer players, with either player as the word-generator. The first player passed to Game.new will be the guesser.

To play, navigate in the terminal to the containing folder and execute "ruby hangman.rb". Ruby must be installed.

About

Ruby Hangman game and word-chain finder in the terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages