Skip to content

Latest commit

 

History

History

Hang man game

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Hangman Game

Introduction

This Hangman game is a simple Python program that allows players to guess a word letter by letter.

How to Play

  1. Run the Python script in your terminal or IDE.
  2. The game will choose a random word from a list of fruits.
  3. The player's task is to guess the word by entering one letter at a time.
  4. The game will display the word with underscores representing the unguessed letters.
  5. The player has a limited number of chances to guess the correct word.
  6. Enter letters to guess, and the game will provide feedback if the letter is correct or not.
  7. If the player guesses the entire word before running out of chances, they win!