This is a cli recreation of the popular game hangman
with slight modifications to make it more user friendly. This game also stores user highscores in a seperate file that can be used to look up past high scores
Simply running python main.py
or python3 main.py
in the directory will start the game
Programs and other things needed to run this program
Python 3.x
Pip
Because this game is fairly simple the only libraries that are used are already installed with python
random
time
json
math
If you are having problems related to libraries, you can try to reinstall the other ones
pip install <package name>
or
conda forge <package name>
To ensure that all modules are loaded and everything is working. Launch the program, If it launches with no errors, it is working properly
Simply start main.py
and youll be greeted with the menu. Pressing 1 will prompt a new game to start where the user will enter their name and have 3 seconds until the timer starts and they can start guessing. If the User wins, their highscore will be added to the JSON file. Furthermore, Pressing option 2 will allow the user to see the name and time of the current record
Highscores can be reset by deleting the highscores.json
file
Words can be added or removed in the wordlist.txt
file as this is where the program generates the words from
- JSON - Used to open and edit JSON files
- Random - Used to generate random files
- Time - Used to compute program time
If any Enhancements, Features or Problems arrise, Please submit a request on github
If another version is set to release, We will add better version control
- Jonathan Obenland - Highscoring functions - Jonathan Obenland
- Andrew Knox - Game mechanics - [Andrew Knox]
This project is licensed under the GPL License