PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'''
Copy and paste to you IDE. The playgrounds limited input keeps it from working well here
'''
'''
HANGMAN
This is the first program that I wrote that I felt was worth anything.
First iteration took a while as I had only began to learn Python a couple weeks prior. Took some doing, but it was fully functional.
First improvement was to add ascii graphics. I added them to my dice programs and figured this would be perfect. Also made checks for already used letters and make sure inputs are actual letters.
Final improvement was my wife complaining that there wasnt a good enough graphic if you win, So I spruced it up bit.
http://leakyegg.website.tk/
'''
import random
hanger=['''
_____
| |
|
|
|
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run