Untitled
unknown
plain_text
3 years ago
2.4 kB
6
Indexable
print(''' ******************************************************************************* | | | | _________|________________.=""_;=.______________|_____________________|_______ | | ,-"_,="" `"=.| | |___________________|__"=._o`"-._ `"=.______________|___________________ | `"=._o`"=._ _`"=._ | _________|_____________________:=._o "=._."_.-="'"=.__________________|_______ | | __.--" , ; `"=._o." ,-"""-._ ". | |___________________|_._" ,. .` ` `` , `"-._"-._ ". '__|___________________ | |o`"=._` , "` `; .". , "-._"-._; ; | _________|___________| ;`-.o`"=._; ." ` '`."\` . "-._ /_______________|_______ | | |o; `"-.o`"=._`` '` " ,__.--o; | |___________________|_| ; (#) `-.o `"=.`_.--"_o.-; ;___|___________________ ____/______/______/___|o;._ " `".o|o_.--" ;o;____/______/______/____ /______/______/______/_"=._o--._ ; | ; ; ;/______/______/______/_ ____/______/______/______/__"=._o--._ ;o|o; _._;o;____/______/______/____ /______/______/______/______/____"=._o._; | ;_.--"o.--"_/______/______/______/_ ____/______/______/______/______/_____"=.o|o_.--""___/______/______/______/____ /______/______/______/______/______/______/______/______/______/______/_____ / ******************************************************************************* ''') print("Welcome to Treasure Island!\nYour mission is to find the treasure!") l_r = input("You're at a crossroad, Do you go left or go right?: ").lower() if l_r == "left": swim_wait = input("You found a lake with an island in the middle. Do you swim to it or wait for a boat?\n") if swim_wait == "wait": door = input("You get to the island, there are 3 doors, Red, Blue, and Yellow. Which door do you go through?\n") if door == "yellow": print("You found the treasure! You won!") elif door == "red": print("You got burned by a fire. Game Over!") elif door == "blue": print("You were eaten by beasts. Game Over!") else: print("Game Over.") else: print("You were eaten by trout. Game Over!") else: print("You fell into a hole and died. Game Over!")
Editor is loading...