repl.it
@bdmessenger/

the_pamola's_lair

Python

No description

fork
loading
Files
  • main.py
main.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
import time
import sys

def delay(s):
  for c in s:
    sys.stdout.write(c)
    sys.stdout.flush()
    time.sleep(0.08)

def pause_input():
  input()
  sys.stdout.write("\n")

def story(dialogue):
  delay(dialogue)
  pause_input()

time.sleep(0.8)
story('As the snow clashes the cave\'s entrance...')
story('Milo trips himself by accident inside the cave, only to be greeted by the ground.')
story('Milo: "OWW!"')
story('The pain he feels was coming from his bruised nose. The avalance, that he and his friends escaped from, was quaking rapidly as they stay still in the dark. The outside was blocked by, none other than, snow as Milo thought. But more importantly, did he break his nose?')
story('Milo slowly touches his nose and starts to examine it.')
story('"No bone sticking out... It moves left and right just fine...", he thought. Thankfully it wasn\'t broken.')