Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 907 Bytes

File metadata and controls

51 lines (34 loc) · 907 Bytes

Python-Programming-Task1

Hangman Game in Python

Project Overview

This project is a simple text-based Hangman Game developed using Python.

The player guesses a hidden word one letter at a time. The game allows a maximum of six incorrect guesses before ending.

Features

  • Random word selection
  • Letter-by-letter guessing
  • Maximum 6 wrong attempts
  • Win and lose conditions
  • Console-based interaction

Technologies Used

  • Python
  • Random Module

Concepts Used

  • Lists
  • Strings
  • While Loop
  • If-Else Statements
  • User Input
  • Random Module

How to Run

python hangman.py

Output

The game displays hidden letters using underscores and asks the user to guess letters until the word is found or attempts run out.

Sample Outputs

Successful Game

Winning Output

Game Over

Losing Output

Author

Panjala Rashmitha