Skip to content

Instantly share code, notes, and snippets.

@SongulKizilay
Forked from chrishorton/hangmanwordbank.py
Created March 29, 2021 11:18
Show Gist options
  • Save SongulKizilay/a5debf0d57c704b12fe978437ee5d800 to your computer and use it in GitHub Desktop.
Save SongulKizilay/a5debf0d57c704b12fe978437ee5d800 to your computer and use it in GitHub Desktop.

Revisions

  1. chrishorton created this gist May 21, 2017.
    61 changes: 61 additions & 0 deletions hangmanwordbank.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,61 @@

    HANGMANPICS = ['''
    +---+
    | |
    |
    |
    |
    |
    =========''', '''
    +---+
    | |
    O |
    |
    |
    |
    =========''', '''
    +---+
    | |
    O |
    | |
    |
    |
    =========''', '''
    +---+
    | |
    O |
    /| |
    |
    |
    =========''', '''
    +---+
    | |
    O |
    /|\ |
    |
    |
    =========''', '''
    +---+
    | |
    O |
    /|\ |
    / |
    |
    =========''', '''
    +---+
    | |
    O |
    /|\ |
    / \ |
    |
    =========''']

    #Word bank of animals
    words = ('ant baboon badger bat bear beaver camel cat clam cobra cougar '
    'coyote crow deer dog donkey duck eagle ferret fox frog goat '
    'goose hawk lion lizard llama mole monkey moose mouse mule newt '
    'otter owl panda parrot pigeon python rabbit ram rat raven '
    'rhino salmon seal shark sheep skunk sloth snake spider '
    'stork swan tiger toad trout turkey turtle weasel whale wolf '
    'wombat zebra ').split()