You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
2.5 KiB

12 months ago
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_.--""___/______/______/______/____
/______/______/______/______/______/______/______/______/______/______/[TomekK]
*******************************************************************************
''')
print("Welcome to Treasure Island")
print("Your mission is to find the treasure.")
action = input("You stand in a clearing. There are paths that lead to the LEFT and to the RIGHT. Which way do you go? [Left, Right]")
if(action.lower == "right"):
print("You have fallen into a hole. Game Over.")
else:
action = input("There is a small pond. You can SWIM across or you can WAIT. [Swim, Wait]")
if(action.lower == "swim"):
print("You are attacked by rabid trout. Game Over.")
else:
input("Three doors appear on the shore of the pond. One is RED another BLUE and the last is YELLOW. What do you do? [Red, Blue, Yellow, Wait]")
if(action.lower == "red"):
print("You are burned by fire. Game Over.")
elif(action.lower == "blue"):
print("You are eaten by beasts. Game over")
elif(action.lower == "yellow"):
print("You found the treasure. You win")
else:
print("You die of boredom. Game Over.")