-
Star
(113)
You must be signed in to star a gist -
Fork
(33)
You must be signed in to fork a gist
-
-
Save chrishorton/8510732aa9a80a03c829b09f12e20d9c to your computer and use it in GitHub Desktop.
| 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() | |
Thanks!
Thank you!
Thank you!
Wow, that's an amazing art in a code. 😃
Thank you 🔥
thank you sir for this i is very use full
In reverse,
hangman = ['''
+---+
| |
O |
/|\ |
/ \ |
|
=========''','''
+---+
| |
O |
/|\ |
/ |
|
=========''','''
+---+
| |
O |
/|\ |
|
|
=========''','''
+---+
| |
O |
/| |
|
|
=========''','''
+---+
| |
O |
| |
|
|
=========''', '''
+---+
| |
O |
|
|
|
=========''','''
+---+
| |
|
|
|
|
=========''',]
Thank you.
do it work
thank you
thank you
thank you
if you see an error like THIS: SyntaxWarning: invalid escape sequence '\ '
fix it by writing r at each str element
hangman = [r'''
+---+
| |
O |
/|\ |
/ \ |
|
=========''', r'''
+---+
| |
O |
/|\ |
/ |
|
=========''', r'''
+---+
| |
O |
/|\ |
|
|
=========''', r'''
+---+
| |
O |
/| |
|
|
=========''', r'''
+---+
| |
O |
| |
|
|
=========''', r'''
+---+
| |
O |
|
|
|
=========''', r'''
+---+
| |
|
|
|
|
=========''']thank you!!!
Thanks
Thank you! Here is a bit fancier version if you don't need to stick to ASCII.
┌───┐
│ │
O │
/║\ │
/ \ │
│
══════╧══
Heyy, appreciate it
thank you
Thanks!!
Brilliant, cheers!
thanks man
if you see an error like THIS: SyntaxWarning: invalid escape sequence '\ ' fix it by writing r at each str element
hangman = [r''' +---+ | | O | /|\ | / \ | | =========''', r''' +---+ | | O | /|\ | / | | =========''', r''' +---+ | | O | /|\ | | | =========''', r''' +---+ | | O | /| | | | =========''', r''' +---+ | | O | | | | | =========''', r''' +---+ | | O | | | | =========''', r''' +---+ | | | | | | =========''']
thank you!
thank you!
Thanks!
thanks! you can check out my repo at https://github.com/dyll-pyckle/first_repo
btw this was my first repo
it uses the ascii art, so thanks!
Thanks soooo much, I appreciate it 🙏
thinks
Thank you