A command line Hangman Game.
Installation • How To Play • List of words • Save players and scores
git clone https://github.com/bloodymosquito/hangman
cd hangman
python main.py
- 100k English words (default):
python main.py --words english.txt
- 138k French words:
python main.py --words french.txt
Create a custom list of words and save it in a text file, one word per line. Then: python main.py --words <your_file>
Add --save
to your command:
python main.py --save
Player names and scores will be saved (and loaded if a save file already exists).
By default, this information is saved in (and loaded from) scores.json
. You can change this file with the --scoref
option, for instance: python main.py --save --scoref another_score_file.json