This is a simple text-based Hangman game created as part of the CodeAlpha Python Internship program.
The player guesses letters to uncover a hidden word within a limited number of attempt
- Randomly selects one word from a predefined list.
- Allows up to 6 incorrect guesses.
- Displays progress with underscores for unguessed letters.
- Detects repeated guesses and prevents penalties.
- Simple console-based interface β no graphics required.
randomβ for choosing a random word.whileloop β to control the game flow.if-elseβ to check correct or wrong guesses.- Strings and Lists β to display letters and track guesses.
- Clone or download this repository:
git clone https://github.com/Farzand-Ali16/CodeAlpha_Python_Tasks.git