Skip to content

Instantly share code, notes, and snippets.

@chrishorton
Created May 21, 2017 17:16
Show Gist options
  • Save chrishorton/8510732aa9a80a03c829b09f12e20d9c to your computer and use it in GitHub Desktop.
Save chrishorton/8510732aa9a80a03c829b09f12e20d9c to your computer and use it in GitHub Desktop.
Hangman ascii art and wordbank
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()
@InvisibleF0x
Copy link

I made each figure into one line if someone might find that useful in the future

pics = ["  +---+\n  |   |\n      |\n      |\n      |\n      |\n=========", 

        "  +---+\n  |   |\n  O   |\n      |\n      |\n      |\n=========",

        "  +---+\n  |   |\n  O   |\n  |   |\n      |\n      |\n=========",

        "  +---+\n  |   |\n  O   |\n /|   |\n      |\n      |\n=========", 

        "  +---+\n  |   |\n  O   |\n /|\  |\n      |\n      |\n=========",

        "  +---+\n  |   |\n  O   |\n /|\  |\n /    |\n      |\n=========",

        "  +---+\n  |   |\n  O   |\n /|\  |\n / \  |\n      |\n========="] 

Thank you, you saved us all some work : )

@villegascmarco
Copy link

⭐ awesome. ty

@Vill-da
Copy link

Vill-da commented Sep 30, 2021

nice ty

@ETHELVECC
Copy link

Thank you!

@iDanilohs
Copy link

Thk u, It's incredible.

@ropajoal
Copy link

Thank you so much!!! You helped me!!!

@BluejayTay
Copy link

NOICE!!! Thank you!!!

@sendesilva
Copy link

thanks!

@Troughy
Copy link

Troughy commented Dec 14, 2021

thank you so much!

@JulianWww
Copy link

That is so helpful. thank you

@BeatriceCharrier
Copy link

Nice .py, thks ;-)

@ChrisO27
Copy link

Thanks a lot bro.

@OriolPalacios
Copy link

Thanks man

@lpigna
Copy link

lpigna commented Mar 24, 2022

thank you sir!

@JonathanSchuder
Copy link

Thank's Bro

@RupamMukherjee
Copy link

Thanks a lot for this hangman pics.

@andikaraditya
Copy link

Thank you so much!!

@Nadia-JSch
Copy link

Thank you :D

@mohammadpmf
Copy link

Thanks 🙏

@ZerxysZ
Copy link

ZerxysZ commented Mar 31, 2023

arigato gosaimasu

@AshBash92
Copy link

Many thanks

@ToterMa
Copy link

ToterMa commented Apr 21, 2023

Gracias

@YungNewton
Copy link

In case you want an even Larger word bank. visit this repo
--> https://github.com/YungNewton/HangMan/blob/master/hangMan.py

@M0uidev
Copy link

M0uidev commented Jun 28, 2023

Thanks!!

@PranjalKhatri
Copy link

Thanks

@MBilalQureshi
Copy link

Thank you so much.

@sabrigunes
Copy link

thanks

@Bisyri07
Copy link

Bisyri07 commented Sep 2, 2023

thank you friend

@saraehsn
Copy link

saraehsn commented Oct 5, 2023

Thank you

@Ambijubi
Copy link

Thank you!

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