Dive into a classic game of Hangman, where suspense meets strategy. Presented with a series of underscores representing an unknown word fetched from an external API, your mission is to unveil the hidden word letter by letter. But beware, each incorrect guess brings you closer to the looming gallows. As the game unfolds, you'll be continuously prompted for your next guess, and the incorrectly guessed letters will be displayed, guiding (or taunting!) you on your journey to solve the mystery. Will you decipher the word in time, or will the hangman claim another victim? The challenge awaits!
- Navigate to Hangman's Release Page and click on Hangman.exe to download. Note: Some operating systems might block .exe files by default for security reasons. You might need to workaround that in your browser to download and run the installer.
- Once downloaded, open the Hangman.exe file.
- Proceed with the installation by following the prompts.
- After installation, you're all set! Launch Hangman and enjoy the game.
For those interested in exploring or modifying the codebase, follow these steps:
- Clone the Repository by running
git clone https://github.com/afk0901/Hangman.git
at the desired place in the terminal - Navigate to the cloned project directory and create a virtual environment using the following command:
python -m venv venv_name
Replace venv_name with your desired name for the virtual environment. - Activate your virtual environment and then install the required packages from the requirements.txt file by running
pip install -r requirements.txt
Note for Windows Users: If Python is not set in your PATH, you might need to run:py -m pip install -r requirements.txt
to install the dependencies. - You're all set! To launch the game, execute the main.py file
Launching the game is straightforward:
- Run the Hangman game.
- Random word will be chosen, and its letters will be hidden as underscores (e.g., _ _ _ _).
- Simply input your letter guesses when prompted.
- No special commands or command line arguments required – just guess and have fun!
- Classic Gameplay: Enjoy the timeless game of Hangman brought to your computer.
- Dynamic Word Selection: Never play the same game twice! Our game utilizes an external API to fetch random words, ensuring a unique challenge every time.
If you encounter any bugs or have a feature in mind that could enhance the game, please reach out to me via email
Contributors are always welcome! If you wish to contribute:
- Fork or clone the repository.
- Make your changes in a separate branch.
- Ensure your code adheres to the existing style for consistency. We are using Black for code formatting.
- Submit a pull request with a detailed description of the changes.
- In your pull request, explain the value your contribution brings to the project and how it enhances/improves the game.
I appreciate your contributions and will do my best to review and merge them promptly.
This README is generated by ChatGTP and modified as needed