https://github.com/pranjalco/hangman-game-intermediate
This is a Python-based Hangman game where players guess a randomly chosen word by inputting letters. The game tracks progress, updates the word display, and shows a visual representation of lives left. It demonstrates skills in string manipulation, loops, conditionals, and random selection. #Python #GameDevelopment #ConsoleApp #Hangman
https://github.com/pranjalco/hangman-game-intermediate
beginner-project game-development python-programming
Last synced: 3 months ago
JSON representation
This is a Python-based Hangman game where players guess a randomly chosen word by inputting letters. The game tracks progress, updates the word display, and shows a visual representation of lives left. It demonstrates skills in string manipulation, loops, conditionals, and random selection. #Python #GameDevelopment #ConsoleApp #Hangman
- Host: GitHub
- URL: https://github.com/pranjalco/hangman-game-intermediate
- Owner: pranjalco
- License: mit
- Created: 2024-12-02T15:37:09.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-10T06:51:01.000Z (3 months ago)
- Last Synced: 2025-03-10T07:32:01.340Z (3 months ago)
- Topics: beginner-project, game-development, python-programming
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hangman Game
This Python-based Hangman game lets users guess a random word letter by letter while tracking progress and lives visually.## Author
Pranjal Sarnaik## Features
- Random word selection from a predefined list.
- Reveals correctly guessed letters progressively.
- Tracks lives and reduces them for incorrect guesses.
- Displays ASCII art based on remaining lives.
- Prevents penalties for repeated guesses.
- Ends with a win/lose message based on game outcome.## Tech Stack
Python | Random Module | String Manipulation | Loops | Conditionals | Lists | ASCII Art## How to Run
1. Clone the repo:
```bash
git clone https://github.com/pranjalco/hangman-game-intermediate.git2. Run:
```bash
python hangman.py**Created by Pranjal Sarnaik**
*© 2024. All rights reserved.*