The story is about a man in a room, he is trying to come to grips with his surroundings and figure out what happened. It is a multiple choice, text based game. My teammate was: Luis (Couldn't find his email) I had help from Aaron. I have posted a Youtube video, going through the program. Here's the code (It may have bugs due to Devpost changing the configuration.)

def one(): menu = "You wake up alone. In a dark, damp room. \n" menu += " 1) Examine the room over \n" menu += " 2) Ask 'Hello?' \n" menu += " 3) Cry " print (menu)

x = input()

if x == "1":
    print('*Looks around, finding the room has a door and a small window.*')
    two()
elif x == "2":
    print('"Hello? Is anyone there?"')
    two()
elif x == "3":
    print('"Cries"')
    failone()
else:
    print("Wha?")
    one()

def two(): menu = "The room becomes darker, the window becomes blocked and you can hear footsteps coming from under the door \n" menu += " 1) Hide next to the door and wait to see if the person comes in. \n" menu += " 2) Sit on the floor and wait for the person. \n" menu += " 3) Sit slumped against the wall, screaming: 'WHERE AM I? WHY IS IT DARK? WHO'S THERE?' \n" print (menu)

x = input ()

if x == "1":
    print('*You get up and dash over to the wall near the door, holding your back against the wall and your face looking towards the door, waiting.*')
    three()

elif x == "2":
    print ('*You sit there, waiting, just waiting, like a pumpkin.*')
    three()

elif x == "3":
    print ("*You start screaming extremely loudly, your voice echoes off of the walls*: 'WHERE THE HELL AM I? WHO'S THAT? WHY IS IT DARK, I'M LONELY!")
    failtwo()

else:
    print ("What are you doing mate?")
    two()

def three(): menu = "The room is now pitch black, you cannot see anything. The footsteps are growing louder, closer. Then, it starts raining outside. Water starts pouring in through the open hole that is a window. \n" menu += " 1) Go over to the window, see if you can drink some water \n" menu += " 2) Stay by the door, still waiting \n" menu += " 3) Start shouting widly: 'WHY THE HELL IS IT RAINING? I DIDNT ASK FOR IT TO RAIN. THIS IS STUPID.' \n" print (menu)

x = input ()
if x == "1":
    print('*You walk silently over to the window, pouring with water. You put your mouth to the waterfall.*')
    failthree()

elif x == "2":
    print ('You stay by the metal door, waiting to see who comes by or in the room')
    four()

elif x == "3":
    print ('You start screaming: "WHY THE HELL IS IT RAINING? THIS IS STUPID, RAIN IS POINTLESS, EVERYTHING IS POINTLESS."')
    failtwo()

else:
    print ("Get a hint")
    one()

def four(): menu = "With your back against the wall, you hear the footsteps come up to the door, it slowly makes a 'clunk' noise and it opens. \n" menu += " 1) Leap at the intruder with your fists raised and get some early punches in before the mysterious man can do anything \n" menu += " 2) Step back from the wall, with your hands in the air. Ready to speak with the intruder \n" menu += " 3) Start screaming loudly into the intruder's ear, 'WHO ARE YOU, WHY ARE YOU HERE, AAAAAAAAAAAAH!' \n" print (menu)

x = input ()

if x == "1":
    print ("*You leap out infront of the door, fists raised, ready for a brawl. The person smacks you square in the face, knocking you back onto the floor, your head slams on to the floor. You're dead.")
    one()
elif x == "2":
    print ("*You come out from the wall, hands raised ready to surrender. The door smacks you in the face. Everything goes dark.*")
    five()

elif x == "3":
    print ("*You start yelling*")
    failfour()

else:
    print ("Rly?")
    one()

def five(): menu = "You wake up, in a room. Its cold, dark and guess what? damp. However, this time there is a man holding a gun to your head. \n " menu += " 1) Sit still, not moving accepting your fate. \n" menu += " 2) Leap out at the intruder and attack him with what force you have. \n"

x = input ()

if x == "1":
        print ("*You sit still, legs crossed and eyes closed. You sit there waiting for your fate.*")
        endone()

if x == "2":
        print ("*You leap out at the man, throwing punches left and right.* All you hear is: *BLAM*")
        endtwo()

def failone(): print (" You continue crying, the room becomes darker and you cry more. \n As you cry more your vision begins to become cloudy. You smack your head on the ground. The End") one()

def failtwo(): print ("As the echoes of your voice fade out, your chest hurts. Your lung starts to burn, as well as your throat. \n" "You start coughing and you fall to the floor in a heap. The End.") one()

def failthree(): print ("As you drink the rain, you stop. Your throat burning, you fall to the ground in pain. Realising this is acid rain. Well done, twit.*") one()

def failfour(): print ("As the door opens you yell loudly: 'WHO ARE YOU, WHY ARE YOU HERE? AHHHHHHHHHH'. The man punches you hard in the throat, you start coughing. You are dead.") one()

def endone(): print ("The man chuckles and pulls the trigger, the last thing you hear is the click of the gun loading.")

def endtwo(): print ("You fall to the floor, clutching your thigh. The wound pouring with blood. You look up at the man and your vision starts to fade.")

one()

Built With

Share this project:

Updates