Skip to content

Latest commit

ย 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Hangman Game

A simple command-line Hangman game developed using Python as part of my Python Programming Internship at CodeAlpha.

๐Ÿ“Œ About the Project

Hangman is a word-guessing game where the player tries to guess a randomly selected word by entering one letter at a time.

The player has a limited number of attempts. Correct guesses reveal the letters in their correct positions, while incorrect guesses reduce the number of remaining attempts.

โœจ Features

  • ๐ŸŽฒ Random word selection
  • ๐Ÿ”ค Letter-by-letter guessing
  • ๐Ÿ‘€ Displays correctly guessed letters
  • โค๏ธ Limited number of attempts
  • ๐Ÿ† Win and lose conditions
  • ๐Ÿ’ป Simple command-line interface

๐Ÿ› ๏ธ Technologies Used

  • Python 3
  • Random Module

โ–ถ๏ธ How to Run

Prerequisites

Make sure Python 3 is installed on your computer.

Steps

  1. Download or clone this repository.

  2. Open the project folder.

  3. Open Command Prompt or Terminal in the project folder.

  4. Run the following command:

    ''' bash python hangman.py

  5. Enter a letter when prompted and start playing. ๐ŸŽฎ

๐Ÿ“‚ Project Structure

CodeAlpha_Hangman_Game

โ”œโ”€โ”€ hangman.py

โ”œโ”€โ”€ hangman-screenshot.png

โ””โ”€โ”€ README.md

๐ŸŽฏ Learning Outcomes

Through this project, I practiced:

  • Python variables
  • Lists
  • Conditional statements
  • for and while loops
  • User input
  • String manipulation
  • The random module
  • Basic game logic

๐Ÿข Internship

Python Programming Internship โ€” CodeAlpha

About

A simple command-line Hangman game developed using Python as part of my CodeAlpha Python Programming Internship.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages