Skip to content

Godlikefreq/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

"Hangman" is a guessing game. Goal is to guess a correct word randomly chosen by app.

Game's Wiki Page here

Usage

  1. Required Ruby (v. 3.1.2) installed on your PC.
  2. Clone application to local PC:
git clone git@github.com:Godlikefreq/hangman.git
  1. Open app's folder through command console.
  2. Run
bundle install
bundle exec ruby main.rb

Settings

By default game allows 7 errors to guess word. To increase/decrease errors count change lib/game.rb:

class Game
  TOTAL_ERRORS_ALLOWED = 7

New words can be added by importing them into data/words.txt.

About

A "Hangman" game (guess a word!)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages