Hangman Game is a simple implementation of the classic word guessing game in Python with a graphical user interface (GUI) using Tkinter. Features
Randomly selects a word from a predefined word list.
Displays the hangman stages as ASCII art.
Allows the player to guess letters to complete the word.
Updates the display to show correctly guessed letters.
Handles win and loss conditions, displaying appropriate messages using message boxes.
Resets the game after each round.
Requirements
Python 3.x
Tkinter (usually comes pre-installed with Python)
How to Run
Clone the repository or download the hangman_game.py file.
Open a terminal or command prompt.
Navigate to the directory containing the hangman_game.py file.
Run the following command: python hangman_game.py
The Hangman game window will open, and you can start playing!
Gameplay
The game randomly selects a word from a predefined word list.
The word is displayed with underscores representing each letter.
Enter a letter in the input field and click the "Guess" button.
If the letter is correct, it will be revealed in the word.
If the letter is incorrect, part of the hangman will be drawn/cut off.
Continue guessing letters until the word is completed or the hangman is fully drawn.
After each round, you will be prompted to play again.
Author
[Prince Sarpong]