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.
Всем привет!
Слово: __ __ __ __ __ __ __
_______
|/
|
|
|
|
|
|
|
__|________
| |
Ошибки (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