A simple text-based Hangman game built using Python as part of the CodeAlpha Python Programming Internship.
This is a console-based Hangman game where the player tries to guess a randomly selected word one letter at a time. The player has a maximum of 6 incorrect guesses before the game ends.
The project demonstrates the use of fundamental Python concepts such as:
- Random module
- While loops
- If-else statements
- Lists
- Strings
- User input
- Basic game logic
- Randomly selects a word from a predefined list
- Reveals correctly guessed letters
- Tracks incorrect guesses
- Prevents duplicate guesses
- Win/Lose conditions
- Simple console interface
- Python 3
Hangman-Game/
│── hangman.py
└── README.md
- Clone this repository
git clone https://github.com/your-username/Hangman-Game.git- Navigate to the project folder
cd Hangman-Game- Run the program
python hangman.py- Variables
- Lists
- Strings
- Loops
- Conditional Statements
- Random Module
- User Input
- Basic Problem Solving
This project helped strengthen my understanding of Python fundamentals by building an interactive console game with user input, random word selection, and game logic.
Kiran Sarwar
GitHub: https://github.com/Kiran-Sarwar

