File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 6
6
print "There's a giant bear here eating a cheese cake. What do you do?"
7
7
print "1. Take the cake."
8
8
print "2. Scream at the bear."
9
+ print "3. Punch the bear in the face."
9
10
10
11
bear = raw_input ("> " )
11
12
12
13
if bear == "1" :
13
14
print "The bear eats your face off. Good job!"
14
15
elif bear == "2" :
15
16
print "The bear eats your legs off. Good job!"
17
+ elif bear == "3" :
18
+ print "You knock the bear out!"
19
+ print "When the bear falls over, you see a passage behind him. You go through it."
20
+ print "It's dark in here, and smells kind of funny. What do you do?"
21
+ print "1. Light a match."
22
+ print "2. Feel for a lightswitch."
23
+ print "3. Turn on your mining hat."
24
+
25
+ light = raw_input ("> " )
26
+
27
+ if light == "1" :
28
+ print "Whoops, looks like that smell was a gas leak. KABOOM!"
29
+ elif light == "2" :
30
+ print "As you feel along the wall for a switch, you run into an electric fence. ZAP!"
31
+ elif light == "3" :
32
+ print "Smart! You find the exit and head home."
33
+ else :
34
+ print "You huddle up on the floor and die."
16
35
else :
17
36
print "Well, doing %s is probably better. Bear runs away." % bear
18
37
You can’t perform that action at this time.
0 commit comments