Hangman is a classic game in which a player thinks of a word and the other player tries to guess that word within a certain amount of attempts.
This is an implementation of the Hangman game, where the computer thinks of a word and the user tries to guess it.
Clone the repository by running the following command inside a terminal
git clone https://github.com/IngaPosiunaite/hangman.git
Then within the folder, run
main.py
- Built an implementation of the Hangman game in Python
- Handled errors in user input and built the conditional logic to run the game
- Utilized Object-Oriented Programming (OOP) principles, including encapsulation and abstraction
hangman/
│
├── main.py
├── hangman/
│ ├── __init__.py
│ ├── game.py
│ └── utils.py
├── tests/
│ └── test_hangman.py
└── README.md
- Addition to let players play the game again
- Adding difficulty settings
- Graphical User Interface