Skip to content

Conversation

@anishmsspt
Copy link

Title: Add console-based Hangman game

This PR adds a classic command-line Hangman game.

Features

  • Picks a random tech-related word for the user to guess.
  • Grants the user 6 incorrect guesses (tries).
  • Displays the hangman's ASCII art, remaining tries, letters already guessed, and the word with blanks (e.g., _ _ t h o _).
  • Handles invalid input (non-letters, multiple letters) and repeated guesses.
  • Reveals the word upon winning or losing and prompts the user to play again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant