This repository houses a Python-based Hangman game, created during my second week at a data science bootcamp. Hangman is a classic word-guessing game where players attempt to guess a hidden word one letter at a time.
Explore the Hangman Game: Play Here
Welcome to the Hangman Game project! This is a simple Python-based Hangman game developed during my second week at a data science bootcamp. Hangman is a classic word-guessing game where players try to guess a hidden word one letter at a time.
In this project, I aimed to practice my Python programming skills by creating a basic version of the Hangman game. You can play this game interactively in a Jupyter Notebook on Google Colab.
- Interactive Hangman gameplay.
- Randomly selected words from a predefined word list.
- Visual representation of the Hangman as the game progresses.
- User-friendly prompts and feedback.
To play the Hangman game or explore the code, follow these steps:
-
Open the Jupyter Notebook file (Hangman.ipynb) in Google Colab or your preferred Python environment.
-
Run the notebook cells to play the game or review the code.
- Run the game code cell in the notebook.
- You will be prompted to guess letters one at a time.
- Continue guessing letters until you either:
- Successfully guess the word.
- Run out of attempts, resulting in a loss.
Feel free to customize the game by making changes to the code. Some ideas for customization include:
- Adding more words to the word list.
- Modifying the number of allowed incorrect guesses.
- Enhancing the user interface.
Contributions to improve the game or add new features are welcome. If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear and concise commit messages.
- Create a pull request, detailing the changes you made and why they should be merged.
I would like to express my gratitude to WBS Coding School for providing me with the opportunity to work on this project and improve my Python programming skills.
If you have any questions or suggestions regarding this project, please feel free to reach out to me:
- Email: anurag150391@ymail.com
- GitHub: anurag150391