<filename>Beginner/treasure-island.py
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.")
print("Your mission is to find the treasure.") 

# https://www.draw.io/?lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Treasure%20Island%20Conditional.drawio#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1oDe4ehjWZipYRsVfeAx2HyB7LCQ8_Fvi%26export%3Ddownload

# https://ascii.co.uk/art

first_choice = input("Choose one direction: 'right' or 'left'?\n")
if first_choice.lower() == "left":
    sec_choice = input("Now you\'ve reached a river, would you like to swim or wait for a boat? Write 'swim' or 'wait':\n")
    if sec_choice.lower() == 'wait':
        thi_choice = input("After crossing the river you see 3 doors, which do you choose: 'red', 'blue' or 'yellow'?\n").lower()
        if thi_choice == "yellow":
            print("You Win!")
        elif thi_choice == "red":
            print("You burned by fire. Game Over!")
        elif thi_choice == "blue":
            print("You are eaten by beasts. Game Over!")
        else:
            print("Game Over!")
    else:
        print("You are attacked by trout. Game Over!")
else:
    print("You fall into a hole. Game Over!")
<filename>Beginner/treasure-island.py
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.")
print("Your mission is to find the treasure.") 

# https://www.draw.io/?lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Treasure%20Island%20Conditional.drawio#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1oDe4ehjWZipYRsVfeAx2HyB7LCQ8_Fvi%26export%3Ddownload

# https://ascii.co.uk/art

first_choice = input("Choose one direction: 'right' or 'left'?\n")
if first_choice.lower() == "left":
    sec_choice = input("Now you\'ve reached a river, would you like to swim or wait for a boat? Write 'swim' or 'wait':\n")
    if sec_choice.lower() == 'wait':
        thi_choice = input("After crossing the river you see 3 doors, which do you choose: 'red', 'blue' or 'yellow'?\n").lower()
        if thi_choice == "yellow":
            print("You Win!")
        elif thi_choice == "red":
            print("You burned by fire. Game Over!")
        elif thi_choice == "blue":
            print("You are eaten by beasts. Game Over!")
        else:
            print("Game Over!")
    else:
        print("You are attacked by trout. Game Over!")
else:
    print("You fall into a hole. Game Over!")
*******************************************************************************           |                   |                  |                     |  _________|________________.=""_;=.______________|_____________________|_______ |                   |  ,-"_,=""     `"=.|                  | |___________________|__"=._o`"-._        `"=.______________|___________________           |                `"=._o`"=._      _`"=._                     |  _________|_____________________:=._o "=._."_.-="'"=.__________________|_______ |                   |    __.--" , ; `"=._o." ,-"""-._ ".   | |___________________|_._"  ,. .` ` `` ,  `"-._"-._   ". '__|___________________           |           |o`"=._` , "` `; .". ,  "-._"-._; ;              |  _________|___________| ;`-.o`"=._; ." ` '`."\` . "-._ /_______________|_______ |                   | |o;    `"-.o`"=._``  '` " ,__.--o;   | |___________________|_| ;     (#) `-.o `"=.`_.--"_o.-; ;___|___________________ ____/______/______/___|o;._    "      `".o|o_.--"    ;o;____/______/______/____ /______/______/______/_"=._o--._        ; | ;        ; ;/______/______/______/_ ____/______/______/______/__"=._o--._   ;o|o;     _._;o;____/______/______/____ /______/______/______/______/____"=._o._; | ;_.--"o.--"_/______/______/______/_ ____/______/______/______/______/_____"=.o|o_.--""___/______/______/______/____ /______/______/______/______/______/______/______/______/______/______/_____ / ******************************************************************************* # https://www.draw.io/?lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Treasure%20Island%20Conditional.drawio#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1oDe4ehjWZipYRsVfeAx2HyB7LCQ8_Fvi%26export%3Ddownload # https://ascii.co.uk/art