Skip to content

emfy0/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

About
How to edit word dictionary
How to use

This program was written on Ruby. It is simple implementation of hangman to play in console. Functionality is obvious.

View

Всем привет!
Слово: __ __ __ __ __ __ __
            _______
            |/
            |
            |
            |
            |
            |
            |
            |
          __|________
          |         |

Ошибки (0): 
У вас осталось ошибок: 7

Введите следующую букву:

Open /data/words.txt

РУБИ
...
СЧАСТЬЕ

Simply add there your words (one word per line).

Example:

РУБИ
...
СЧАСТЬЕ
КОТ

First of all Ruby & Git must be installed (on Debian based):

sudo apt install ruby git

clone repo:

git clone https://github.com/moonmeander47/hangman.git && cd hangman

then you can easily enjoy with (1st run):

bundle install && bundle exec ruby main.rb

other runs:

bundle exec ruby main.rb

About

Classic hangman written on Ruby

Topics

Resources

Stars

Watchers

Forks

Languages