Hangman Game, Quality Development project
Feature
-
English and Italian version of the game (you can click the flag in the top left corner in the main menu to switch language)
-
Can choose to play a quick game or select different game difficulties (easy, medium, hard)
-
Can store your name and your score, you can see them from stats menu (work in progress, uncomment lines 20-21 in main.py to see your stats in the terminal)
-
Quick game assigns the player 100 points
-
Easy game assigns the player 100 point, medium 150 points, hard 200 points
Requirements
-
Python (3+)
-
Pygame
-
Pytest (for devs)
-
Pytest-mock (for devs)
-
Pytest-cov (for devs)
-
Pylint (for devs)
pip install -r requirements.txt && pip install -r requirements_dev.txt
How to execute the code
Clone the repository
git clone https://github.com/Graziano01/HangmanGame.git
Navigate to the directory
cd HangmanGame
Run the game
python3 main.py
To do:
-
Fix box letter function to print in the window the wrong letters
-
Stats menu to be completed
-
Add unit test