Skip to content

small cli hangman game using bitcoin bip39 english word list

Notifications You must be signed in to change notification settings

Loedn/bip39_hangman_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman

This is a simple hangman program in python with words from the bitcoin bip39 english dictionary.

Logic flow

  • Start
  • Generate a random word
  • Generate as many blanks as letters in word
  • Game loop
    1. ask the user to guess a letter
    2. is the letter guessed in the word?
      • yes -> replace the blank with letter
        • are all blanks filled?
          • yes -> GG WP
          • no -> back to step 1
      • no -> lose a life
        • Have they run out of lives?
          • yes -> F
          • no -> back to step 1

About

small cli hangman game using bitcoin bip39 english word list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages