-
Notifications
You must be signed in to change notification settings - Fork 1
/
leftdoor.py
51 lines (47 loc) · 1.52 KB
/
leftdoor.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
from intro import pprint
from intro import command
slides = [
"How To Not Get Fired",
"Boss Appreciation Minute",
"Why The Projector Is Always Running",
"How Not To Save Power",
"How To Eat A Sandwich",
"Are We In A Simulation: The Proof",
"What Do You Do With A Drunken Sailor",
"Why The Office Is Mostly Hallway",
"Allergies: Why?",
"I Ate A Sandwich Today And It Was Delicious",
"How To Bring Up Your Electric Bill"
]
import random
def hallway1():
pprint("""
[You walk through a very long hallway. You are starting to wonder what a healthy hallway to office ratio is, and what said ratio would be for this office building.
You come upon the meeting room. The projector is running.]
Yet there was not a single person here either.
Feeling a wave of disbelief, Stanley decided to go up to his boss's office, hoping he might find an answer there.
Do you:
1. Look at the projector screen
2. Go into the next room
""")
stdin = command("> ", 2)
if stdin == 1:
import time
pprint("""
[The title of the presentation is """ + random.choice(slides) + ". You've seen this one before.]\n")
pprint("""
[You walk into the next room. This room is another hallway, with a broom closet. The door does not seem to be locked.]
Do you:
1. Go in the broom closet
2. Go into the next room
""")
stdin = command("> ", 2)
pprint("""
This path has not been finished yet. Please choose a different ending next time.
<THE UNFINISHED ENDING>
""")
input()
import sys
sys.exit(0)
if __name__ == "__main__":
import serious