This commit is contained in:
Tucker 2024-03-11 20:11:19 -04:00
parent 16d875d3e3
commit 69c5c8cb40

View File

@ -1,6 +1,9 @@
print("You are walking down a road. There is a fork in the road one path leads to the entrance of a cave. the other leads to the enterance of a forest.")
path = input("Which way do you go? (cave/forest)")
while path != "cave" or path != "forest":
while not (path == "cave" or path == "forest"):
path = input("Which way do you go? (cave/forest)")
if path == "forest":
print("You decide to got to the forest enterance")
forest_chioce = input("You enter the forest and see a cub. What do you do (run/investigate)")
@ -38,7 +41,7 @@ while path != "cave" or path != "forest":
if cave_choice2 == "Sneak out":
print("You try to sneak out, but you trip over a stone! The wolves then wake up and devour you. THE END")
exit()
elif cave_choice2 != "Play dead":
elif cave_choice2 == "Play dead":
print("You play dead and when the wolves wake up they don't notice you allowing you to exscape and return home to safety. THE END")
exit()
else: