This repository was archived by the owner on Jan 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMy Game.py
1762 lines (1714 loc) · 136 KB
/
My Game.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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#for chance moments aka auto CPs
import random as rand
z = 0 # count of number of gameplays
#the restart function
restart() #needs to be run before anything
#throughout the code the different "choice points" are denoted by CPn and in different while loops of n eg n1 n2 ect.
#Teaching the user
input ("Hello, thanks for playing my game! First some instructions, when the text ends press enter to move on, give it a try now!")
input ("Good! If you put text that is also fine, though nothing will happen. You will sometimes have an option on what to do")
CP = input ("You will then input what is in the square brackets. Do you understand [y] [n]")
#making sure people get it
n = 0
while (n == 0):
if CP == "n":
input("Well, you managed to get here, so let's move on")
n = 1
elif CP == "y":
input("Great!")
n = 1
else:
CP = input ("please only use one of the above options in the square bracket")
#getting name and pronouns, setting variables for later
input ("If you see a question mark in a square bracket please type your answer")
name = input ("What will be the name of your charecter? [?]")
print ("Hi" , name , "which pronouns do you prefer? He/Him/His [h] She/Her/Hers [s] or They/Them/Theirs[t]")
pronoun = input()
n = 0
while (n == 0):
if pronoun == "h":
p1 = "he"
p2 = "him"
p3 = "his"
p4 = "lad"
p5 = "dude"
p6 = "sir"
p7 = "himself"
p8 = "man"
n = 1
elif pronoun == "s":
p1 = "she"
p2 = "her"
p3 = "hers"
p4 = "lass"
p5 = "dudess"
p6 = "ma'am"
p7 = "herself"
p8 = "woman"
n = 1
elif pronoun == "t":
p1 = "they"
p2 = "them"
p3 = "theirs"
p4 = "mate"
p5 = "dude"
p6 = "xir"
p7 = "themselves"
p8 = "person"
n = 1
else:
pronoun = input ("please only use one of the above options")
#Get SO and get the story started
input ("Great!")
SO = input ("What is the name of your significant other? [?]")
input ("Great!")
input ("Let's get started")
def main():
global p1
global p2
global p3
global p4
global p5
global p6
global p7
global p8
global z
global restart
def restart():
#all of the CPs and ns
global n
global n1
global n2
global n3
global n4
global n5
global n6
global n7
global n8
global CP
global CP1
global CP2
global CP3
global CP4
global CP5
global CP6
global CP7
global CP8
global chance
'''
#to get out of the while loops
n = 1
n2 = 1
n3 = 1
n4 = 1
n5 = 1
n6 = 1
n7 = 1
n8 = 1
#to get out of the if loops
CP = " "
CP1 = " "
CP2 = " "
CP3 = " "
CP4 = " "
CP5 = " "
CP6 = " "
CP7 = " "
CP8 = " "
chance = 0 #for random chance moments
'''
main()
while (1==1):
#begining of the game
print ("The universe is on the brink of war between the Inkinderins and the Greenbrights")
input ()
print ( name, "is on a small planet by the name of Jadesong." , name, "is at home watching the news and" , p1 , "gets a text.")
input()
print(SO , ": what's up?")
input()
#Text
CP = input ("Do you respond yes [y] no [n]")
n = 0
while (n == 0):
#conversation with SO
if CP == "y":
print (name, ": not much, how about you?")
input()
print (SO, ": Not much either... I'm just glad we're in nutrel teritory")
input ()
print (name , ": me too. just thinking about Jamie, he's in the center of it all")
input ()
print (SO, ": Right. I'm sorry about that.")
input ()
print (name, ": I was thinking about visiting him")
input()
print (SO, ":no, it's not safe")
print ("does", name, "decide to visit Jamie? yes [y] no [n]")
CP1 = input ()
n1 = 0
while (n1 == 0):
#in the spaceport
if CP1 == "y":
print (name, "grabs" , p3, "phone and heads off to the spaceport")
input()
print (name, "gets to the spaceport and", p1, "looks up at the board and there are 2 trips to Jamie's home planet")
input()
print ("does", name, "take the cheep, fast, but a bit sketchy journey [s] or take the expensive, slow, but reputable one [r]")
CP2 = input ()
n2 = 0
while (n2 == 0):
#sketch flight
if CP2 == "s":
print ("You find your way to a freight ship and hand the man at the door cash")
input()
print('The man sitting next to you looks over at you and says "hey', p4 ,'you heading into the belly of the beast, why?')
input()
CP3 = input ('do you stay silent [s], say "whats it to you"? [w], or "im visiting my cushion [c]')
n3 = 0
while (n3 == 0):
if CP3 == "s":
#quiet
print('The man says "well I guess we have a quiet one, I get the hint')
input()
n3 = n3+1
elif CP3 == "w":
#potential fight
print ('the man says "woah woah', p5, 'just trying to make conversation')
input()
print ("does", name, "start a fight [f] or calm down [c]")
CP4 = input()
n4 = 0
while (n4 == 0):
if CP4 == "f":
print ("You punch the man in the face and get thrown off of the ship with a broken nose")
input()
z = z+1
print ("You have reached one of the endings")
input()
print("Restart [r] End [e]")
CP5 = input()
z = z + 1
n5 = 0
while (n5 == 0):
if CP5 == "r":
restart()
break
elif CP5 == "e":
print ("I hope you had fun! Thanks for playing! You played through" , z, "times!")
else:
CP5 = input ("please choose one of the above options")
elif CP4 == "c":
print (name, "calms down and sits in silence for a while")
n3 = n3 + 1
n4 = n4 + 1
CP5 = input ()
else:
CP4 = input ("please use one of the above options")
n4 = 0
elif CP3 == "c":
print ("your cousin, eh?")
input()
print ("I wish the both of you luck then")
n3 = n3 + 1
else:
CP3 = input ('Please use one of the above options')
#the orphaned planet freezes
print ("The ship takes off and is calm for a while")
input()
print ("suddenly there is a great rattle")
input()
print("the captin says over the PA that the ship has been shot down by a Inkinder cruiser and that we will be making an emergency landing on a plannet called Higermarsh")
input ()
print ("the ship lands on the surface and", name, "exit's the ship onto a strange plannet")
input ()
print ("there are trees surrounding the place where the ship landed")
input()
print("The trees have a purplish hue, and the closer" , name, "looks, the more", p1, "sees")
input ()
print ("The veins that run through the leaves are trembleing.", name, "Looks up and the sky went black.")
input()
print("The sun had been eaten for fuel")
input()
print("This would be the end for", name, "so", p1 , "sent a quick text off to", SO , "It wouldn't get there for a while but", SO, "needs to know...")
input()
print ("know how much", SO, "was loved")
input ()
print ("the world got colder and colder. Until eventually", name, "Fell asleep")
input ()
print (p1, "never wakes up")
#ending procedure
z = z + 1
print ("you have reached one of the endings. Restart [r] and end [e]")
CP4 = input ()
n4 = 0
z = z + 1
while (n4 == 0):
if CP4 == "r":
restart()
break
elif CP4 == "e":
print ("Thank you for playing! I hope you had fun! You played through", z, "times!")
input()
quit()
else:
CP4 = input ("please use one of the above options")
#taking the safe shop
elif CP2 == "r":
print (name, "takes the safe route, buying a ticket at the check in")
input()
print(p1, "didn't have any checked bags, so at least",p1, "saved some money there")
input()
print("Boarding was in an hour,", name, "grabbed a snack and sat by the gate")
input()
print(name, "boarded the ship and after a few minutes it took off")
input()
print("once the ship had reached zero g", name, "got up and floated over to the restroom")
input()
print("The restroom was spinning to simulate a sort of gravity, otherwise things might go everywhere")
input()
print("The rest of the journey was boring, until eventually they landed")
input()
print("Jamie didn't live too far away, ", p1, "could probably walk from here")
input()
print ("Does", name, "try to walk to Jamie's neighborhood [w] or get a cab [c]?")
CP3 = input()
n3 = 0
while n3 == 0:
if CP3 == "w":
#walk's to Jamie's place
print (name, "desides to try and walk to Jamie")
input()
print ("The road was a lonley place.")
input()
print ("It's strange how few cars there are")
input()
print ("There's a distant noise of a crash in the city")
input ()
print (name, "can see smoke coming from the city")
input ()
print ("an alarm pierces the silence following the crash.")
input ()
print ("does", name, "continue into the city [c] or run back [r]")
CP4 = input()
n4 = 0
while n4 == 0:
if CP4 == "c":
#continues into the city
print(name, "runs into the city")
input()
print("There is rubble all around, people trying to pull themselves out")
input()
print ("The musk of fear and uncertainty lay thick in the air")
input()
print ("but", name, "had family here,", p1, "there was no time to mess around")
input()
print (p1, "knew that", p3, "cousin lived on the north side.")
input()
print (name, "ran through the rubble and rebar.")
input()
print ("when", name, "makes it to the north side")
input()
print ("Then", name, "sees something horrible, something", p1, "can never unsee")
input()
print ("Jamie saw", name, "and he walked over to", p2, "then one of the bombs that didn't go off before did")
input ()
print (name, "turned and ran, ran as far away as possible")
input()
print ("does", name, "try and make", p3, "way to the spaceport [s] or hide in the city [h]?")
CP5 = input()
n5 = 0
while n5 == 0:
#seaking safety at the spaceport
if CP5 == "s":
print(name, "set's", p3, "sights on the spaceport. It means safety")
input ()
print ("but", name, "wasn't out of the woods yet.")
input ()
print ("In the fog of the chaos no one knows what is safe")
input()
print (name, "keeps running through the city.")
input()
print("searching desprately for a scrap of safety to cling onto")
input()
print ("eventuality", p1, "found something, a place of refuge, for now at least")
input()
print ("A concrete building that had been nocked over had exposed it's basement")
input()
print (name, "is about to get into the basement, but", p1, "hears a strange noise from inside")
input()
print ("does", name, "go into the basement anyway [b] or continue lookine elseware [e]")
CP6 = input()
n6 = 0
while n6 == 0:
#the basement in the destroyed city
if CP6 == "b":
print(name, "causiously enters the basement,", p1, "sees someone there")
input()
print ("they are huddled around a small electric heater. They look up at", name)
input()
print('"What do you want?" the strange person asks')
input()
print ('"',"I'm just looking for safety",'"')
input()
print("The person nods, and they go back to huddling around the heater")
input()
print (name, "figured that was about the best welcome", p1, "would get")
input()
print ("this was as good a place as any to wait for rescue")
input()
print (name, "reaches into", p3, "pocket and find something", p1, "frogot about")
input()
print ("a handful of candies")
input()
print ("does", name, "offer half of them to the other person? yes [y] or no [n]")
CP7 = input()
n7 = 0
while n7 == 0:
if CP7 == "y":
#gives friend some candy
print(name, "decides to give", p3, "new roomate half of the candies")
input()
print ("how many did", name, "have with", p2,"? [?]")
candynum = int (input ())
tofreind = (candynum/2)-(candynum%2)
print (name, "holds out", p3, "hand with", tofreind, "candies in it")
input()
print ("The person takes the candies, but still doesn't say anything")
input()
print ("they must be in as much shock as", name)
input()
print ("after an hour or so", name, "heard the sounds of sirins")
input ()
print ("this must me the rescue party,", name, "helps up the other person and they both leave")
input()
print ("It was the united planets peacekeepers. They brought", name, "along with the other survivors with them")
input()
print ("Everyone was being brought to a nutrel planet, ", name, "could get home from there")
input()
print (name, "texted", SO, "that", p1, "was okay.")
input()
print ('the person who was in the basement with', name, 'turned to', p2)
input ()
print ('"Hi, my name is John. Thanks for those sweets, that was very nice of you"')
input()
print (name, "brought John home with", p2, "he had no home anymore, and it was only fair")
input()
print ("they became good friends, and stayed in nutrel teritory for the rest of the war")
input()
print ("you have reached one of the endings. Restart [r] or end [e]")
z = z + 1
CP8 = input()
n8 = 0
while n8 == 0:
if CP8 == "r":
restart()
break
elif CP8 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
else:
CP8 = input ("please use one of the above options")
elif CP7 == "n":
#keeps the candy to yourself
print (name, "keeps all of the candy to", p7, "and eats it in silence")
input()
print("after an hour or so", name, "hears the sound of sirins")
input()
print (name, "leaves the basement, and sees it's the united planets")
input()
print ("they are taking all of the survivors to a nutrel planet")
input()
print (name, "could get home from there")
input()
print (name, "sends a text to", SO, "saying that", p1, "is okay")
input()
print ("you have reached one of the endings, restart [r] or end [e]")
z = z + 1
CP8 = input ()
n8 = 0
while n8 == 0:
if CP8 == "r":
restart()
break
elif CP8 == "e":
print("Thank you for playing! I hope you enjoyed! You played", z, "times")
input()
quit()
else:
CP8 = input ("Please use one of the above options")
else:
CP7 = input("please use one of the above options")
elif CP6 == "e":
#avoiding the basement / acid rain
print(name,"is skeptical of the basement and continues to search for safety elsewhere")
input()
print (p1, "walks along the destroyed pavement of the city")
input()
print ("It starts to rain, which is strange seeing as there wasn't a cloud in the sky when", p1, "arrived")
input()
print ("Then", name, "realized something disturbing")
input()
print ("the bomber ship must have seeded a storm")
input()
print (p3, "Skin started to burn. They seeded acid rain.")
input()
print (name, "fell down, burning in the acid water")
input()
print ("you have reached one of the endings. Restart [r] or end[e]")
CP7 = input()
z = z + 1
n7 = 0
while n7 == 0:
if CP7 == "r":
restart()
break
elif CP7 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times")
input()
quit()
else:
CP7 = input ("please use one of the above options")
else:
CP6 = input ("please use one of the above options")
elif CP5 == "h":
#hiding in the city
print (name, "looks for a place to hide around", p1)
input()
print ("in a desprate attempt to seek shelter", name, "ducks into Jamie's building")
input()
print("There was no one there.", p1, "managed to find a place to hide alone")
input()
print("there wasn't a basement, but it was safe for now")
input()
print (name, "hid there for a while before hearing someone outside")
input()
print("Does", name, "go outside and investigate [i] or continue to stay hidden [h]")
CP6 = input()
n6 = 0
while n6 == 0:
if CP6 == "i":
#investigate the strange noise / kidnapping
print(name, "peaks", p3, "head out of the door")
input()
print ("It's looters. They are smashing windows and taking things")
input()
print ("They spotted", name, "and they point a gun at", p2)
input()
print ('"Hands up" the leader shouts, "on your knees"')
input()
print (name, "does what he says. They carry", p2, "away")
input()
print ("They bring", p2, "to a recently abandoned parking garage")
input ()
print ("They tie", name, "to a concrete bar, and continue on to loot")
input()
print (name, "is left there for a while.")
input()
print ("no matter what", p1, "tries, nothing works to get", p7, "free")
input()
print ("the group comes back to get", name)
input ()
print ('"What is your name, why are you here?"')
input()
print ("does", name, 'say "I am just here to visit someone" [v], or stay silent [s]')
CP7 = input()
n7 = 0
while n7 == 0:
if CP7 == "v":
#honest with kidnappers
print (name, "tells them that", p1, "are just there to visit someone")
input()
print ("The leader seams to believe", p2, "and they cut", p2, "free")
input()
print ('"Leave, if I see your face again you are a dead', p8, ', do you understand?"')
input()
print (name, "nods, and leaves the garage")
input ()
print (name, "had survived, and", p1, "sees in the distance a rescue team")
input()
print ("The united planets peacekeepes were taking the survivors away")
input()
print (name, "flags them down, and gets on a UP ship.")
input()
print ("It takes", p2, "to a nutrel planet,", p2, "could get home from there")
input()
print ("You have reached one of the endings. Restart [r] end [e]")
CP8 = input()
n8 = 0
z = z + 1
while n8 == 0:
if CP8 == "r":
restart()
break
elif CP8 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
elif CP7 == "s":
#killed by kidnappers
print (name, "stays silent. This angers the looters. They shoot", p2, "in the head")
input()
print ("you have reached one of the endings. Restart [r] or end [e]")
CP8 = input()
n8 = 0
z = z + 1
while n8 == 0:
if CP8 == "r":
restart()
break
elif CP8 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
else:
CP8 = input("please use one of the above options")
else:
CP7 = input("please use one of the above options")
elif CP6 == "h":
#stay hidden in the building
print(name, "stay's hidden in the building and waits for the people to go past")
input()
print ("They stay in the area for a while.")
input()
print (name, "heard the sound of low altitude ships")
input()
print ("There was a second attack")
input()
print ("The last thing", name ,"sees is the wall collapsing in")
input()
print ("You have reached one of the endings. Restart [r] end[e]")
CP7 = input()
z = z + 1
n7 = 0
while n7 == 0:
if CP7 == "r":
restart()
break
elif CP7 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
else:
CP7 = input('please use one of the above options')
else:
CP6 = input ("please use one of the above options")
else:
CP5 = input ("please use one of the above options")
elif CP4 == "r":
#seaking safety at the spaceport
print(name, 'runs back to the Spaceport')
input()
print (p1, 'got there quickly.')
input()
print ("everything is grounded at the moment. The entire city has been bobbed")
input()
print ("all", name, "could do now was hope that Jamie was okay")
input()
print (name, "tried to call", SO, "but the lines were all jammed")
input()
print("Does", name, "try and smuggle", p7, "off the plannet [s] or wait [w]")
CP5 = input()
n5 = 0
while n5 == 0:
if CP5 == "s":
#smuggleing yourself off of the planet
print (name, "finds an emergency ship about to take off, full of diplomats")
input()
print (p1, "sneaks into the cargo hold of the ship.")
input()
print ("It takes off and flies to the united planet's station")
input()
print (name, "can stay hidden while in transet")
input()
print ("After a few hours of travel at FTL they arrives at the UP")
input()
print (name, "wait's until there are no longer the sound of footsteps above")
input()
print ("Ever so slowly", name, "exits the cargo hold.")
input()
print (p1, "had to stay hidden. Ht would be found guilty of endangering diplomats")
input()
print ("a crime punishable by death")
input()
print (p1, 'hears over the PA system "envoy to Jadesong leaving from bay 7 in 10 minutes, 10 minutes"')
input()
print (name, "could get home, but", p1, "would have to get to bay 7 without being noticed")
input()
print ("does", name, "try and get to bay 7 and get home [b] or wait for a more sure opportunity [w]")
CP6 = input()
n6 = 0
while n6 == 0:
if CP6 == "b":
#trying to make it to bay 7, and home
print(name, "makes a run for it, hoping beyond hope not to be spotted")
input()
print ("There was footsteps coming from the hall ahead of ", p2)
input()
print (p1, "was just able to duck out of the way before anyone saw", p2)
input()
print ("The ship was right there. Everyone had already boarded, but there was still an opportunity")
input()
print (name, "dove for the closing cargo hatch, and just made it inside")
input ()
print ("It's unclear if anyone saw", p2, "but the ship took off anyway")
input()
print ("This journey was only an hour long, and", name, "was home again")
input()
print ("You have reached one of the endings. Restart [r] or end [e]")
CP7 = input()
z = z + 1
n7 = 0
while n7 == 0:
if CP7 == "r":
restart()
break
elif CP7 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
else:
CP7 = input ("please use one of the above options")
elif CP6 == "w":
#wait in the UP station
print (name, "wait's for a better opportunity to get off the station")
input()
print ("There was no way that", p1, "could make it there in time without being caught")
input()
print ("Though there was now the sound of something that", p1, "hadn't concitered.")
input()
print ("The cleaner had come to prepare the ship for it's next flight.")
input()
print ("There is nowhere to hide. The moment the door opens", name, "is seen")
input()
print ("The cleaner brings", name, "to the main office.")
input()
print (name, "is strapped into a machene. They can see", p3, "memories now")
input()
print ("They found", p2, "guilty of endangering diplomats, though they gave", p2, "one kindness")
input()
print (p1, "was sent off to spend the rest of", p3, "life in jail, not execution")
input()
print ("You have reached one of the endings restart [r] or end [e]")
CP7 = input()
n7 = 0
z = z +1
while n7 == 0:
if CP7 == "r":
restart()
break
elif CP7 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
else:
CP7 = input ("please use one of the above options.")
else:
CP6 = input ("please use one of the above options")
elif CP5 == "w":
#Waiting in the spaceport for rescue
print(name, "wait's in the spaceport until rescue came. It would have to come")
input()
print (name, "is one of many people who are here, just waiting.")
input()
print (p1, "is ever so hungry.")
input()
print ("There is no where to eat that is still open")
input()
print (name, "did manage to get a hold of some water")
input()
print ("It is like the first rain after a long drought in", p3, "throat")
input()
print ("The United Planets peacekeepers eventually came")
input()
print (name, "was on the third shop to leave,", p1, "would make it home")
input()
print ("you have reached one of the endings. Restart [r] or end [e]")
CP6 = input()
n6 = 0
z = z + 1
while n6 == 0:
if CP6 == "r":
restart()
break
elif CP6 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through",z,"times.")
input()
quit()
else:
CP6 = input("please use one of the above options")
else:
CP5 = input ("Please use one of the above options")
else:
CP4 = input("please use one of the above options")
elif CP3 == "c":
print (name, "hails a cab to bring" , p2, "to Jamie")
input()
print ("The cabbie takes down Jamie's address and pulls away")
input()
print ("Soon", p1, "was at Jamie's apartment.")
input()
print ("Jamie was so happy to see", name)
input()
print ('"It has been too long" he said')
input()
print ('"How have things been here?"', name, 'asked')
input()
print ('"There have been some scary times, not going to lie. But you just have to carry on"')
input()
print ("The two of them talked the afternoon away, until a siren pierced the peace")
input()
print ("Jamie, terrified leads", name, "to the bunker in the basement of his building")
input()
print ("They heard the sound of bombs from above.")
input()
print ("They stayed in the bunker for what felt like hours")
input()
print ("Eventually they left their security to peer out onto the city above")
input()
print ("The city had been virtually flattened.")
input ()
print ("Though they had survived.")
input()
print ("You have reached one of the endings. Restart [r] or end [e]")
CP4 = input()
n4 = 0
z = z + 1
while n4 == 0:
if CP4 == "r":
restart()
break
elif CP4 == "e":
print ("Thank you for playing! I hope you enjoyed! You played", z, "times")
input()
quit()
else:
CP4 = input("please use one of the above options")
else:
CP3 = input ("please use one of the above options")
else:
CP2 = input ("Please use one of the above options")
elif CP1 == "n":
#doesn't visit Jamie
print(name, "listens to", SO, "and stays home")
input()
print (name, ": You're right. I'll stay home")
input()
print (SO, ": Good. I'll be by in a little while")
input()
print (name, ": see you soon <3")
input()
print (name, "slumps back onto the sofa, until", SO, "gets back home")
input()
print (SO, "opens the door and comes in")
input()
print (name, "and", SO, "embrace.")
input()
print ('"how was your day?"')
input()
print ('"It was alright. Glad to see you though"', SO, "kissed", name, "as they said that")
input()
print ("There was a smashing sound,", SO, "pushed", p2, "down to the ground")
input()
print (SO, "jumps out of the window and runs into the woods")
input()
print ("does", name, "follow", SO, "[f], or stay in the house [h]")
CP2 = input()
n2 = 0
while n2 == 0:
if CP2 == "f":
#Follows SO into the woods
print (name, "follows", SO, "into the woods")
input()
print ("It takes", p2, "a while to find", SO, "but when", p1, SO, "is hiding behind a tree")
input()
print ('"What are you doing here, you should not have folowed me"')
input()
print ("The tree next to them caught fire after being hit with a laze gun")
input()
print (SO, "shoots a gun back at them")
input()
print ('"What is happening?" ', name, 'yells at', SO)
input()
print ('"I told you not to come!"', SO , "yells back")
input()
print ("The sound of a in atmosphere ship filled the air from above")
input()
print ('"Shit"', SO, 'said. I need more time.')
input()
print(SO, "grabs onto a dropped rope and is hoisted up onto the ship")
input()
print ("Does", name, "try and climb the rope [c] or run away[r]")
CP3 = input()
n3 = 0
while n3 == 0:
if CP3 == "c":
#climbing the rope after SO
print(name, "climbs the rope after", SO, "using all of", p3, "might.")
input()
print(SO, "shouts down at", name , "to get off")
input()
print (p1, "doesn't listen to them")
input()
print ("The ship takes of, leaving", name, "dangleing from the rope")
input()
chance=rand.randint(0,20)
if chance > 15:
#success at climbing the rope
print (name, "manages to hold on to the rope as the ship takes off")
input()
print (p1, "pulls", p7, "up onto the closing ledge on the ship")
input()
print (SO, "is gone by the time", name, "can climb all of the way up ")
input ()
print (name, "looks around and sees that there are many computer monitors")
input()
print ("They display all sorts of different diagrams and maps")
input()
print ("Does", name, "explore the rest of the ship [e] or look into the computers [c]")
CP4 = input()
n4 = 0
while n4 == 0:
if CP4 == "e":
#exploring SO's ship
print(name, "leaves the computers to walk around the ship")
input()
print (p1, "first comes across the mess hall, there are three people in there")
chance_1 = rand.randint (0,20)
if chance_1 > 5:
#sneaking past the mess hall
print (name, "sneaks past the door without anyone noticing", p2)
input()
print (p1, "keeps looking around and", p1, "eventually finds the bridge")
input()
print ("No one was in there! The ship must have been running on autopilot")
input()
print (name, "looks at the charts, they were going to a distant planet")
input()
print (name, "had never heard of it before")
input()
print ("Does", name, "change the course? Yes [y] No [n]")
CP5 = input()
n5 = 0
while n5 == 0:
if CP5 == "y":
#change the course of the ship
print(name, "fumbles with the controls and manages to switch the destination to home")
input()
print ("an alarm goes off the moment, and the door behind", p2, "closes")
input()
print (name, "hears footsteps of guards coming for", p2)
input ()
print ("The door opens, three guards come in, shooting", p2, "down quickly")
input()
print ("You have reached one of the endings, Restart [r] or [e]")
CP6 = input()
n6 = 0
z = z + 1
while n6 == 0:
if CP6 == "r":
restart()
break
elif CP6 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
else:
CP6 = input("Please choose one of the above options")
elif CP5 == "n":
#leave the ship on corse
print (name, "leaves the controls alone and moves on")
input()
print (p1, "finds a place to hide as a few guards walk by")
input()
print ("They are too deep in conversation to notice", p2)
input()
print (name, "finds the bunk rooms, and", p1, "sees that one of the beds is labled:")
input()
print ('"' , SO , '"')
input()
print ("There is soneone sleeping in the bed")
input()
print ("They suddenly wake up and", SO, "is looking right in", p3, "eyes")
input()
print ('"I told you to stay behind.', "You shouldn't be here!", 'You need to leave"')
input()
print (SO, "pushes", name, "down as someone walks by")
input()
print ('"I am taking you to an escape pod"')
input()
print (SO, "wouldn't hear any of" ,name + str("'s"), "protests")
input()
print (SO, "put's", p2, "in an escape pod bound for home")
input()
print ("You have reached one of the endings. Restart [r] or end [e]")
CP6 = input()
n6 = 0
z = z + 1
while n6 == 0:
if CP6 == "r":
restart()
break
elif CP6 == "e":
print ("Thank you for playing! I hope you enjoyed! You played through", z, "times.")
input()
quit()
else:
CP6 = input("please use one of the above options")
else:
CP5 = input("please use one of the above options")
else:
#caught by people in the mess
print("the people in the mess hall see", name, "and they call the guards")
input()
print ("The guards come, shooting", name, "down")
input()
print ("You have reached one of the endings. Restart[r] or end [e]")
CP5 = input()
n5 = 0
z = z + 1