https://github.com/yanbrasiliano/hangman-game
Developing a Hangman game in Python. This project involves creating a classic word-guessing game where players attempt to guess a hidden word one letter at a time. It serves as an educational exercise to practice Python programming concepts such as loops, conditionals, and string manipulation.
https://github.com/yanbrasiliano/hangman-game
hangman-game python python3
Last synced: 8 months ago
JSON representation
Developing a Hangman game in Python. This project involves creating a classic word-guessing game where players attempt to guess a hidden word one letter at a time. It serves as an educational exercise to practice Python programming concepts such as loops, conditionals, and string manipulation.
- Host: GitHub
- URL: https://github.com/yanbrasiliano/hangman-game
- Owner: yanbrasiliano
- License: mit
- Created: 2021-04-14T01:43:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T01:16:14.000Z (over 1 year ago)
- Last Synced: 2024-12-28T17:30:21.452Z (10 months ago)
- Topics: hangman-game, python, python3
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The Hangman Game 🎲
A Python script that simulates the classic Hangman game. The rules of the game can be found online.
## Overview
This project implements the Hangman game, where players guess letters to uncover a hidden word. The game ends either when the word is correctly guessed or the player fails to guess the word within 6 attempts.
## How to Play
1. The game will prompt you to guess letters one at a time.
2. You have 6 attempts to guess the word correctly.
3. Each incorrect guess results in a part of the hangman figure being drawn.
4. The game ends when you either guess the word correctly or exhaust all 6 attempts.

## Requirements
- Python 3.x
## How to Run
1. Clone the repository:
```bash
git clone git@github.com:yourusername/hangman-game.git
```
2. Navigate to the project directory:
```bash
cd hangman-game
```
3. Run the script:
```bash
python hangman.py
```
## Contributing
Contributions are welcome! Feel free to open issues and submit pull requests to improve this project.
## License
This project is licensed under the MIT License.