madelinben / hangman

A console game of guess that word, with the Player attempting one letter at a time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hangman

A console game of guess that word, with the Player attempting one letter at a time.

Checklist

  • Obtain plaintext file of nouns in the english dictionary.
  • Import words from file and select a random index from the list.
  • Validate dictionary for single nouns on import.
  • Cover selected word for display.
  • Implement game loop while user is guessing the word and has available attempts.
  • Validate whether an attempt is a single char and has not previously been made.
  • Guessed characters are validated and uncovered to the user.
  • Break game loop and confirm whether the covered word was guessed correctly.
  • Display attempt count and visual hangman to user.
  • Ask the user whether they'd like to play again on exit.

About

A console game of guess that word, with the Player attempting one letter at a time.


Languages

Language:Python 100.0%