Skip to content

Commit 74d6614

Browse files
committed
Initial commit: Hangman Game
0 parents  commit 74d6614

File tree

9 files changed

+386
-0
lines changed

9 files changed

+386
-0
lines changed

.idea/.gitignore

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/Hangman Game.iml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hangman_art.py

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
stages = [r'''
2+
+---+
3+
| |
4+
O |
5+
/|\ |
6+
/ \ |
7+
|
8+
=========
9+
''', r'''
10+
+---+
11+
| |
12+
O |
13+
/|\ |
14+
/ |
15+
|
16+
=========
17+
''', r'''
18+
+---+
19+
| |
20+
O |
21+
/|\ |
22+
|
23+
|
24+
=========
25+
''', '''
26+
+---+
27+
| |
28+
O |
29+
/| |
30+
|
31+
|
32+
=========''', '''
33+
+---+
34+
| |
35+
O |
36+
| |
37+
|
38+
|
39+
=========
40+
''', '''
41+
+---+
42+
| |
43+
O |
44+
|
45+
|
46+
|
47+
=========
48+
''', '''
49+
+---+
50+
| |
51+
|
52+
|
53+
|
54+
|
55+
=========
56+
''']
57+
58+
logo = r'''
59+
_
60+
| |
61+
| |__ __ _ _ __ __ _ _ __ ___ __ _ _ __
62+
| '_ \ / _` | '_ \ / _` | '_ ` _ \ / _` | '_ \
63+
| | | | (_| | | | | (_| | | | | | | (_| | | | |
64+
|_| |_|\__,_|_| |_|\__, |_| |_| |_|\__,_|_| |_|
65+
__/ |
66+
|___/ '''

hangman_words.py

+215
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
word_list = [
2+
'abruptly',
3+
'absurd',
4+
'abyss',
5+
'affix',
6+
'askew',
7+
'avenue',
8+
'awkward',
9+
'axiom',
10+
'azure',
11+
'bagpipes',
12+
'bandwagon',
13+
'banjo',
14+
'bayou',
15+
'beekeeper',
16+
'bikini',
17+
'blitz',
18+
'blizzard',
19+
'boggle',
20+
'bookworm',
21+
'boxcar',
22+
'boxful',
23+
'buckaroo',
24+
'buffalo',
25+
'buffoon',
26+
'buxom',
27+
'buzzard',
28+
'buzzing',
29+
'buzzwords',
30+
'caliph',
31+
'cobweb',
32+
'cockiness',
33+
'croquet',
34+
'crypt',
35+
'curacao',
36+
'cycle',
37+
'daiquiri',
38+
'dirndl',
39+
'disavow',
40+
'dizzying',
41+
'duplex',
42+
'dwarves',
43+
'embezzle',
44+
'equip',
45+
'espionage',
46+
'euouae',
47+
'exodus',
48+
'faking',
49+
'fishhook',
50+
'fixable',
51+
'fjord',
52+
'flapjack',
53+
'flopping',
54+
'fluffiness',
55+
'flyby',
56+
'foxglove',
57+
'frazzled',
58+
'frizzled',
59+
'fuchsia',
60+
'funny',
61+
'gabby',
62+
'galaxy',
63+
'galvanize',
64+
'gazebo',
65+
'giaour',
66+
'gizmo',
67+
'glowworm',
68+
'glyph',
69+
'gnarly',
70+
'gnostic',
71+
'gossip',
72+
'grogginess',
73+
'haiku',
74+
'haphazard',
75+
'hyphen',
76+
'iatrogenic',
77+
'icebox',
78+
'injury',
79+
'ivory',
80+
'ivy',
81+
'jackpot',
82+
'jaundice',
83+
'jawbreaker',
84+
'jaywalk',
85+
'jazziest',
86+
'jazzy',
87+
'jelly',
88+
'jigsaw',
89+
'jinx',
90+
'jiujitsu',
91+
'jockey',
92+
'jogging',
93+
'joking',
94+
'jovial',
95+
'joyful',
96+
'juicy',
97+
'jukebox',
98+
'jumbo',
99+
'kayak',
100+
'kazoo',
101+
'keyhole',
102+
'khaki',
103+
'kilobyte',
104+
'kiosk',
105+
'kitsch',
106+
'kiwifruit',
107+
'klutz',
108+
'knapsack',
109+
'larynx',
110+
'lengths',
111+
'lucky',
112+
'luxury',
113+
'lymph',
114+
'marquis',
115+
'matrix',
116+
'megahertz',
117+
'microwave',
118+
'mnemonic',
119+
'mystify',
120+
'naphtha',
121+
'nightclub',
122+
'nowadays',
123+
'numbskull',
124+
'nymph',
125+
'onyx',
126+
'ovary',
127+
'oxidize',
128+
'oxygen',
129+
'pajama',
130+
'peekaboo',
131+
'phlegm',
132+
'pixel',
133+
'pizazz',
134+
'pneumonia',
135+
'polka',
136+
'pshaw',
137+
'psyche',
138+
'puppy',
139+
'puzzling',
140+
'quartz',
141+
'queue',
142+
'quips',
143+
'quixotic',
144+
'quiz',
145+
'quizzes',
146+
'quorum',
147+
'razzmatazz',
148+
'rhubarb',
149+
'rhythm',
150+
'rickshaw',
151+
'schnapps',
152+
'scratch',
153+
'shiv',
154+
'snazzy',
155+
'sphinx',
156+
'spritz',
157+
'squawk',
158+
'staff',
159+
'strength',
160+
'strengths',
161+
'stretch',
162+
'stronghold',
163+
'stymied',
164+
'subway',
165+
'swivel',
166+
'syndrome',
167+
'thriftless',
168+
'thumbscrew',
169+
'topaz',
170+
'transcript',
171+
'transgress',
172+
'transplant',
173+
'triphthong',
174+
'twelfth',
175+
'twelfths',
176+
'unknown',
177+
'unworthy',
178+
'unzip',
179+
'uptown',
180+
'vaporize',
181+
'vixen',
182+
'vodka',
183+
'voodoo',
184+
'vortex',
185+
'voyeurism',
186+
'walkway',
187+
'waltz',
188+
'wave',
189+
'wavy',
190+
'waxy',
191+
'wellspring',
192+
'wheezy',
193+
'whiskey',
194+
'whizzing',
195+
'whomever',
196+
'wimpy',
197+
'witchcraft',
198+
'wizard',
199+
'woozy',
200+
'wristwatch',
201+
'wyvern',
202+
'xylophone',
203+
'yachtsman',
204+
'yippee',
205+
'yoked',
206+
'youthful',
207+
'yummy',
208+
'zephyr',
209+
'zigzag',
210+
'zigzagging',
211+
'zilch',
212+
'zipper',
213+
'zodiac',
214+
'zombie',
215+
]

0 commit comments

Comments
 (0)