Skip to content

PanjalaRashmitha/Python-Programming-Task1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python Internship Task 1 - A text-based Hangman game where players guess letters to identify a hidden word within a limited number of attempts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages