loading
main.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
# Developer: Matt Washington
# date: 2019-03-21
# description: SnowFire: The Game


#setup
response=""
choice=""

pistol_pay_firebottle=["pistols","pay","firebottle"]
wait_go=["wait","go"]
surrender_shoot=["surrender","shoot"]
blade_pistols_wait=["blade", "pistol", "wait"]
pistol_fists_blade=["pistol","fists","blade"]
head_chest_hand=["head", "chest", "hand"]

#global imports
import time
import random
import pyfiglet

#intro

print ("")
from pyfiglet import Figlet
custom_fig = Figlet(font='nancyj-underlined')
print(custom_fig.renderText('PAYNE COUNTY'))

print("")
time.sleep(3)


firstname=input("Howdy partner. What's your first name ?\n")
print ("Good to meet ya, " + firstname)
time.sleep(3)
print("")
horsename=input ("That's a Fancy-lookin horse you got there. What's her name?\n")
time.sleep(1)
print("")
print (horsename + "??  Original. I like it.\n")
print ("Okay, listen up, " + firstname + ".")
time.sleep(3)
print ("It's Payne County, Oklahoma. Winter, 1897.\n")
time.sleep(3)
print ("Payne used to be a small, quiet, and peaceful town.\n")
time.sleep(3)
print ("But not anymore.\n")
time.sleep(3)
print ("The new 'Sheriff' wants to make a name for himself.\n")
time.sleep(3)
print ("He's been arresting and killing anyone he finds suspicious.\n")
time.sleep (2)
print ("Most of his victims are innocent.\n")
time.sleep(3)
print ("Last night, he arrested your father.\n")
time.sleep(3)

print ("You need to break him outta jail.\n")
time.sleep (2) 
print ("Before he's executed. \n") 
time.sleep(3)
print ("It's time to put an end to this.\n")
time.sleep(3)
print ("The blizzard's coming.\n")
time.sleep(3)
print ("----------------------------------")

#travel
print ("")
from pyfiglet import Figlet
custom_fig = Figlet(font='basic')
print(custom_fig.renderText('Chapter One'))
time.sleep(3)
print("\n")
print ("It’s daytime now, but the snowstorm's getting closer.\n")
time.sleep(3)
print ("It will probably hit the county tonight.\n")
time.sleep(3)
print ("Be careful. The Sheriff's goons patrol the area during the day.\n")
time.sleep(3)
print ("Waiting till nightfall might be best for sneaking into town.\n")
time.sleep(3)
print ("Your call, " + firstname ) 
print ("\n")
while response not in wait_go:
  response=input("What do you do? Type [wait] or [go]\n")
  print("")
  if response == "wait":
    time.sleep(3)
    print ("You decide to wait until sundown. Despite the  storm, you can sneak under the cloak of the night. The snow begins falling.")
  elif response == "go":
    time.sleep(3)
    print ("You decide to head out during daylight. You immediately run into a group of deputies. They draw their pistols and arrest you. You and your father share a jail cell.\n")
    print ("YOU FAIL.\n")
    exit(0)
  else:
    print ("Didn't catch that, " + firstname + ". Say again?")
print ("You mount " + horsename )
print ("\n")
time.sleep(2)
print ( horsename +" reaches full gallup, and cuts through the snowfall like a blade. For a moment you enjoy the beautiful amber and purple Oklahoma twilight, before the biting chill of night sets in. You ride on.\n")
time.sleep(3)
print ("You arrive in Payne County. You dismount " + horsename + " and head toward the Sheriff's office on foot. It's snowing harder now.\n")
time.sleep(3)
#sheriff's door
from pyfiglet import Figlet
custom_fig = Figlet(font='basic')
print(custom_fig.renderText('Chapter 2'))
time.sleep(3)
print ("")
print ("You're in front of the Sheriff's office. The howl of the blizzard will make it easy to sneak. Under the doorway, you see many shadows. The Sheriff may not be alone.\n")
time.sleep(3)
print ("You can kick down the front door, guns blazing (PISTOL)...or\n")
print ("Walk in calmly, and offer to pay the bounty [PAY]...or\n")
print ("Draw them out by creating a distraction. (FIREBOTTLE)\n")
print("")
while response not in pistol_pay_firebottle:
  response=input ("What do you do? Type [pistols] or [pay] or [firebottle]\n")
  if response == "pistols":
    print ("You kick in the front door and begin firing. The Sheriff, and his 2 armed deputies, return fire. you manage to hit two of them, just before being riddled with bullets.\n")
    time.sleep(3)
    print ("You’re dead.\n")
    exit(0)
  elif response == "pay":
    print ("You walk into the Sheriff's office to ask him show mercy on your father. Upon your request to pay the bounty of one of his prisoners, the Sheriff’s men draw their weapons, and immediate arrests you. Now you and your father share a jail cell.\n")
    time.sleep(3)
    print ("You have failed")
    exit (0)
  elif response == "firebottle":
    print ("You take your whiskey bottle from your satchel, tie your bandana around it, and light it. You send the burning bottle flying at the front door of the Sheriff’s office.\n")
    time.sleep(3)
    print ("The bottle crashes into the door, and explodes into flames. The snowfall, plus the smoke and embers form a thick grey haze near the door. You take cover by kneeling in the snow alongside the Sheriff’s office in the dark.\n")
    time.sleep(4)
  else:
    print ("Pardon? Say that again?\n")
#Fight 1
print ("2 of the Sheriff's deputies emerge from the office to check the explosion, weapons drawn.\n")
time.sleep(3)
print ("1 deputy has a shotgun, the other, a pistol. They slowly and carefully circle the building in opposite directions. You’ll soon be surrounded.\n")
time.sleep(3)
print("It's getting colder. You hands will start to get numb after a while.\n")
time.sleep(3)
while response not in blade_pistols_wait:
  response=input ("What do you do?? Type [blade],[wait], or [pistols]\n")
  if response == "blade":
    print ("You take out your blade.\n")
    time.sleep(3)
    print("One deputy draws closer, shotgun in hand. Only the corner of the building is between the two of you.\n")
    time.sleep(3)
    print("He turns the corner.\n")
    time.sleep(3)
    print("His eyes flash wide open in suprise when he sees you...\n")
    time.sleep(3)
    print ("Then immediately roll to the back of his head after you plunge your knife into his chest.")
    time.sleep(3)
    print ("He falls, his body makes a muffled thud in the snow.\n")
    time.sleep(3)
    print (" One deputy left.\n")
  elif response == "wait":
    print ("The deputies move slowly, it seems like minutes have gone by.\n")
    print ("Finally, you hear them coming./n")
    time.sleep(3)
    print ("You draw your weapon.")
    time.sleep(3)
    print ("You fingers are numb from the cold! You struggle to pull the trigger for just a split second.\n")
    time.sleep(3)
    print ("You miss your shot!")
    time.sleep(3)
    print ("From close range, you're an easy target for his shotgun.")
    time.sleep(3)
    print ("He shoots you with just one hit of buckshot\n")
    time.sleep(3)
    print ("The force of the shot violently throws you to the ground. You're dead as Dillinger, " + name)
    exit(0)
  elif response == "pistols":
    print ("You take your Revolver from its holster, and emerge from cover.\n")
    time.sleep(3)
    print ("You fire on the deputies.\n")
    time.sleep(3)
    print ("The sharp crack of the gunshots slice through the hazy, winter air.\n")
    time.sleep(3)
    print ("You hit the first deputy in his right hip, he falls to one knee. He struggles and raises his shotgun to fire.\n")
    time.sleep(3)
    print ("You fire again.\n")
    time.sleep(3)
    print ("Headshot.\n")
    time.sleep(3)
    print ("He's down.\n")
    time.sleep (1)
    print ("You quickly turn to face the other corner of the building.\n")
    time.sleep(3)
    print ("The other deputy appears. But, he's  panicking, and shoots from the hip.")
    time.sleep(3)
    print ("He misses.\n")
    print ("You fire 3 shots.\n")
    time.sleep(3)
    print ("And put three holes in his chest.")
    time.sleep(3)
    print ("The snow is his grave, now.\n")
    time.sleep(3)
    print ("You holster your gun.\n")
    time.sleep(3)
    print ("Despite the cold, you suddenly start to feel a warm sensation in your back for a split second.\n")
    time.sleep(3)
    print ("It's the the warmth of blood.\n")
    time.sleep(3)
    print ("then you hear the echo of a gunshot.\n")
    time.sleep(3)
    print ("the Sheriff shot you in the back!\n")
    time.sleep(3)
    print ("You tumble into the snow. Everything fades to black as you look up into the night sky.\n")
    time.sleep(3)
    print ("YOU'RE DEAD.\n")
    exit (0)
  else:
    print ("Pardon? Say that again, " + name)
#Fight 2
print ("The other deputy makes his way around the long side of the building.\n")
time.sleep(3)
print ("He calls out for his partner, but it falls on the other deputy’s lifeless ears. He panics. He moves along the rear wall of the building, just below the building's window.\n")
time.sleep(3)
print ("You hear his footsteps quickly crushing the snow from around the corner of the building. He is only a few steps away from you.\n")
time.sleep(3)

while choice not in pistol_fists_blade:
  choice=input ("What do you do? Type [pistol], [fists], or [blade]\n")
  if choice == "pistol":
    print ("You aim your weapon. The deputy’s weapon is also drawn as he turns the corner, exposing his hand and gun.\n")
    time.sleep(3)
    print("You fire.\n")
    time.sleep(3)
    print ("The deputy screams in agony and hunches over after his gun violently ricochets from his mangled hand.\n") 
    time.sleep(3)
    print ("You walk up to execute him. You draw your weapon for the headshot\n.")
    time.sleep(3)
    print ("Out of nowhere an explosion of buckshot hits you in the back, violently jolting you into you into the snow. The Sheriff fired his shotgun from the window.\n")
    time.sleep(3) 
    print ("You’re dead.\n")
    exit(0)
  elif choice == "blade":
    print ("You draw your blade.\n")
    time.sleep(3)
    print ("You crouch low near the corner of the wall. The deputy quickly turns the corner, but his pistol is aimed to high.\n")
    time.sleep(3)
    print ("You take hold of his gun, pushing it the towards the upward in the sky as the two of you struggle. In a flash,  your blade flies through his neck like butter. He falls backwards into the snow.\n")
    time.sleep(3)
  elif choice == "fists":
    print ("You clench your fists.\n")
    time.sleep(3)
    print ("The deputy’s weapon is drawn as he turns the corner, exposing his hand and gun.\n")
    time.sleep(3)
    print ("You grab his gun, and push it towards the night sky, and wrestle him to the ground.\n")
    time.sleep(3)
    print ("You throw a barrage of punches. Each one with increasing power as you pound his head deeper and deeper into the snow\n.")
    time.sleep(3)
    print ("Left.\n")
    time.sleep(1)
    print ("Right.\n")
    time.sleep(1)
    print ("Left.\n")
    time.sleep(1)
    print ("Right.\n")
    time.sleep(1)
    print ("Left.\n")
    time.sleep(1)
    print ("He stops struggling.\n")
    time.sleep(3)
    print ("You take his pistol, and leave him in the snow.\n")
    print ("Catching your breath, you pickup your hat, slap the snow off of it. And put it back on.\n")
    time.sleep(3) 
    print ("You march past the remains of the fire, right into the front door of the Sheriff's office.")
  else:
    print ("Pardon? I didn't catch that, " + name + ".\n")
# Sheriff
print("")
from pyfiglet import Figlet
custom_fig = Figlet(font='basic')
print(custom_fig.renderText('FINAL CHAPTER'))
print("")
time.sleep(3)
print ("The Sheriff looks at you in perplexed shock. He realizes that his men aren't coming back.\n")
print (" 'I dunno what you want, partner. But maybe we can make a deal.' He says.\n")
time.sleep(3)
print ("You only say one word.\n")
time.sleep(3)
print ("'Duel.'\n")
time.sleep(3)
print ( "The Sheriff responds smugly. 'Partner, are you sure? I'm the fastest gun here in Payne County. That's how I became Sheriff.'")
time.sleep(3)
print (" He continues, 'You best use your head before you lose it, boy.\n")
time.sleep(3)
print ("'I'll be outside', you say.\n")
time.sleep(3)
print("You step outside.\n")
time.sleep(3)
print ("The Sheriff grins and follows you.\n")
time.sleep(3)
print ("The remains of the fire cover the duel in a flickering twilight. The blizzard is in full force now. He stands 20 paces away from you.\n")
time.sleep(3)
print ("Your eyes pierce his as you ready your right hand to draw your weapon.\n")
time.sleep(3)
print ("He is all that stands between you and your father.\n")
time.sleep(3)
print ("DRAW!\n")
while response not in head_chest_hand:
  response=input("Aim where? Type [head],[chest],or [hand]\n")
  if response == "head":
    print ("The snowfall and howling wind seem to stand still moments before you draw your weapon.\n")
    time.sleep(3)
    print ("You exhale, your warm breathe dissipates into the cold night air.\n")
    time.sleep(3)
    print ("In a blur, you lean, and pull your revolver from it’s holster with your right hand.\n")
    time.sleep(3)
    print ("In a flash, the Sheriff pulls his weapon too and slams his hand against the hammer of his magnum and fires.\n")
    time.sleep(3)
    print ("You pull the trigger and fire one shot. The sound of the gunshot drowns out the swirling wind and snow, and seems to fill the entire county.\n") 
    time.sleep(3)
    print ("You hear his bullet whizz by as it barely misses your face.")
    print (" A gun falls into the snow.\n")
    time.sleep(3)
    print ("It's his.\n")
    time.sleep(3)
    print("His body quivers for a moment. And then he falls flat on his back. The bullet landed right between his eyes.\n")
    time.sleep(3)
    print ("You slowly march toward the Sheriff's body, check his vest, and find the jail key.\n")
    time.sleep(3)
  elif response == "chest":
    print ("The snowfall and howling wind seem to stand still moments before you draw your weapon.\n")
    time.sleep(3)
    print ("You exhale, your warm breathe dissipates into the cold night air.\n")
    time.sleep(3)
    print ("In a flash, the Sheriff pulls his weapon too and slams his hand against the hammer of his magnum and fires.\n")
    print ("You quickly draw your weapon, you rapidly pound the back of your revolver and fire all 6 shots in your revolver.\n")
    time.sleep(4)
    print ("All six land.")
    time.sleep(3)
    print ("Under his vest, his white shirt quickly becomes with pools of red craters from your bullets.\n")
    time.sleep(3)
    print ("The final shot lands leaves a hole in the Sheriff’s badge. He violently falls to the ground.")
    time.sleep(3)
    print ("He mumbles 'impossible' as he lets out his last breath. His eyes remain open looking up at the night sky.")
    print ("You slowly march toward the Sheriff's body, check his vest, and find the jail key.\n")
    time.sleep(3)
  elif response == "hand":
    print ("The snowfall and howling wind seem to stand still moments before you draw your weapon.\n")
    time.sleep(3)
    print ("You exhale, your warm breathe dissipates into the cold night air. You quickly draw your revolver.\n")
    time.sleep(3)
    print ("In a flash, the Sheriff pulls his weapon too and slams his hand against the hammer of his magnum and fires.\n")
    time.sleep(3)
    print ("You lean and pull the trigger. Aiming at his shooting hand.\n")
    time.sleep(3)
    print ("The sounds of your bullet rounds hitting his make a loud clunking sound again the iron of his gun, and it rattles from his grip.\n ")
    time.sleep(3)
    print ("He drops to his knees in pain. Clutching his hand.\n")
    time.sleep(3)
    print ("He looks up at you in agony, and pleads for mercy...\n") 
    time.sleep (2)
    print ("Only to be met with another bullet to the forehead.\n")
    time.sleep(3)
    print ("He falls forward, his face buries into the snow.\n")
    time.sleep(3)
    print ("You slowly march toward the Sheriff's body, check his vest, and find the jail key.\n")
    time.sleep(3)
  else:
    print ("Pardon me? Please type that again, " + firstname + 
    ".")
    time.sleep(3)
#ending
print (" You enter the jail.\n")
time.sleep(3)
print ("You walk to the only jail cell, and unlock the door.\n")
print ("You see your father.\n")
time.sleep(3)
print ("He looks at you in suprise and relief. He staggers toward you.\n")
time.sleep(3)
print ("He’s weak, but okay. You put his arm over your shoulders, and walk him out of the jail.\n")
time.sleep(3)
print ("You whistle for " + horsename + "She quickly gallups to the two of you.\n")
time.sleep(3)
print ("You and your father mount " + horsename + "And ride off.\n")
time.sleep(3)
print ("He sees the Sherrif's and his 2 deputies laying in the snow. He looks at you and nods.\n")
time.sleep(3)
print ("You buck " + horsename + ". She whinnies and stands tall on her hind legs.\n")

print ("You ride off into the night.")
time.sleep(3)
print ( "Now everyone knows " + firstname + " , The Legend of Payne County.\n")
time.sleep(3)
print ("")
from pyfiglet import Figlet
custom_fig = Figlet(font='nancyj-underlined')
print(custom_fig.renderText('YOU WIN !!'))
time.sleep (3)
print ("{THANK YOU FOR PLAYING}")