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 f39f71a..5a51ca4 100644 Binary files a/__pycache__/story.cpython-37.pyc and b/__pycache__/story.cpython-37.pyc differ