Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Hangman with Hints

Issue #868

Description

Guess the word with limited attempts and optional hints for each word.

How to Run

python hangman_with_hints.py

Features

  • Terminal-based Hangman game
  • 8 words with hints
  • Visual hangman display
  • 6 wrong attempts allowed
  • Optional hint system (one per game)
  • Input validation
  • Shows guessed letters

Gameplay

  1. A random word is selected
  2. Guess letters one at a time
  3. Type "hint" to reveal a clue (once per game)
  4. Win by guessing all letters before running out of attempts
  5. Lose after 6 wrong guesses

Word List

The game includes words like:

  • python
  • computer
  • keyboard
  • internet
  • algorithm
  • database
  • software
  • hardware

Requirements

  • Python 3.x
  • No external dependencies