From 245303f9426261346a7104dcdbba6a32f9efc4dd Mon Sep 17 00:00:00 2001 From: Rueshelle Ferguson Date: Fri, 2 Oct 2020 10:47:47 +0100 Subject: [PATCH] finished --- StoryD7.py | 11 ++++++++--- __pycache__/story.cpython-37.pyc | Bin 6050 -> 6303 bytes 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/StoryD7.py b/StoryD7.py index 17a338a..eb877a4 100644 --- a/StoryD7.py +++ b/StoryD7.py @@ -1,4 +1,6 @@ import story +import os +import msvcrt as m # the logic for the sotry... # help function to display more informating about links in the story @@ -6,13 +8,16 @@ import story # get user input # clear the screen - +def clear(): + print('\nPress enter to continue') + m.getch() + os.system('cls') # main def main(): print(story.chairStory) - print(story.) + print(story.context) selectContect = (input('Please select A,B,C,D...')) if selectContect == 'a': print(story.screen) @@ -22,6 +27,7 @@ def main(): print(story.sept) else: pass + clear() print(story.decision) a = int(input('Please select 1 or 2...')) if a == 1: @@ -32,6 +38,5 @@ def main(): print(story.con) - main() diff --git a/__pycache__/story.cpython-37.pyc b/__pycache__/story.cpython-37.pyc index f39f71a911436529b5ce8592f66300b5ac6d4de4..5a51ca475fed1a5bdae1f93fbf618410aaac55ed 100644 GIT binary patch delta 346 zcmZWlu}Z^G6ixA|&5JEqrPbnaHwhG^qm$UGIO&jp;Gm?*jd_^7E684vhwIl9XuJi2Q zx6f{0IsCzd@-%{ia!AD`f+mQCjDT_tfh;mo2tvlBvOo)x5RASRpcr(55L24cM97OB zUcRla-|e~pzTv%4A5_c`m;dAwF&*otjgt1uT?FE#tv`vlcgNozlWSwdOfeNdP0m|f$r*{6MZqQc zMU_!(#mPmfsd-UcC7HRYAw`L0sX0-TnI&{MS27f_1I;O7pX?~%AtC@|vT(9+ut>4+ NurRVPv#_!V0|2