Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import os
- import ctypes
- kernel32 = ctypes.windll.kernel32
- kernel32.SetConsoleMode(kernel32.GetStdHandle(-11), 7)
- def read(text,delay=0.07,newline=True):
- for i in text:print(i,end="",flush=True);time.sleep(delay)
- if newline:print("",flush=True)
- print('\033[25m')
- os.system('cls')
- time.sleep(1)
- print("",end="\033[92m")
- read('MilkyWay90\'s',delay=0.2)
- print("",end="\033[31m")
- read('''
- ______ ______ _______ ________ ______ __ __ ________ ______ ________
- / \/ / \/ | / \/ | / / |/ \/ |
- /$$$$$$ $$$$$$/$$$$$$$ $$$$$$$$/ /$$$$$$ $$ | $$ $$$$$$$$//$$$$$$ $$$$$$$$/
- $$ \__$$/ $$ | $$ | $$ $$ |__ $$ | $$ $$ | $$ $$ |__ $$ \__$$/ $$ |
- $$ \ $$ | $$ | $$ $$ | $$ | $$ $$ | $$ $$ | $$ \ $$ |
- $$$$$$ | $$ | $$ | $$ $$$$$/ $$ |_ $$ $$ | $$ $$$$$/ $$$$$$ | $$ |
- / \__$$ |_$$ |_$$ |__$$ $$ |_____ $$ / \$$ $$ \__$$ $$ |_____/ \__$$ | $$ |
- $$ $$// $$ $$ $$/$$ | $$ $$ $$<$$ $$/$$ $$ $$/ $$ |
- $$$$$$/ $$$$$$/$$$$$$$/ $$$$$$$$/ $$$$$$ |$$$$$$/ $$$$$$$$/ $$$$$$/ $$/
- $$$/
- '''[1:-1],delay=0.001)
- time.sleep(1)
- print("\n"*4)
- input('\033[0m\033[4mPress "Enter" to play\033[0m ')
- os.system('cls')
- read('You have joined the game.')
- time.sleep(1)
- os.system('cls')
- read('You have woken up.')
- time.sleep(1)
- read('You are very drowsy, given that you slept and midnight. It is hard for you to open your eyes.')
- def open_eyes():
- read('Would you like to open your eyes, or would you like to go back to sleep (answer with yes or no)? ')
- print("\033[94m", end = "")
- wake_up = input()
- print("\033[0m", end = "")
- if wake_up[0].lower() == "y":
- jail_cell()
- elif wake_up[0].lower() == "n":
- sleep_more()
- else:
- read("Invalid Input!")
- os.system('cls')
- open_eyes()
- def jail_cell():
- os.system('cls')
- read('You open your eyes, and reach for a cup of water.')
- read('You notice that there is no cup of water there. Instead, you see a steel wall.')
- read('Scared, you jump off your bed and look at your door. There is no door, just steel bars.')
- read('How will you react (Type "shout" to shout, "sleep" to go back to sleep, or "slam" to slam the jail bars)?')
- print("\033[94m", end = "")
- action = input()
- print("\033[0m", end = "")
- open_eyes()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement