Skip to content

khubabraza/Python-Hangman-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Python Hangman Game

A simple console-based Hangman game developed in Python. The player guesses a hidden word one letter at a time, with a maximum of 6 incorrect guesses allowed.

Features

  • Random word selection from a predefined word list
  • Console-based user input and output
  • Tracks guessed letters
  • Limits incorrect guesses to 6
  • Handles repeated and invalid input
  • Displays win or game-over message

Technologies Used

  • Python

Python Concepts Used

  • random module
  • while loop
  • if-else conditions
  • Strings
  • Lists
  • Functions
  • Console input/output

How to Run

Make sure Python is installed on your system.

Clone the repository:

git clone https://github.com/khubabraza/Python-Hangman-Game.git

Open the project folder:

cd Python-Hangman-Game

Run the game:

python hangman.py

About

A simple console-based Hangman game built with Python fundamentals.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages