-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTreasure_project.py
More file actions
100 lines (98 loc) · 4.24 KB
/
Treasure_project.py
File metadata and controls
100 lines (98 loc) · 4.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
from random import choice
print('''
,', ,',
', ,' ', ,'
,----'--------------------------. ,----'--------------------------.
/''|```|```|```|```|```|```|``|` | /''|```|```|```|```|```|```|``|``|
|---'---'---'---'---'---'---'--'--| |---'---'---'---'---'---'---'--'--|
,_ ______ ______ |=-=,_ ______ ______ jg |
'---'(O)(O)'---------'(O)(O)'---' '---'(O)(O)'---------'(O)(O)'---'
''')
print("Welcome to Treasure Island.")
print("Your mission is to find the treasure.")
choicce1 = input('You\'re at crossroad, where do want to go? Typer "left" or "right".\n ').lower()
if choicce1 == "left":
choicce2 = input('You\'ve come to the lake. '
'There is an Island in the Middle of the Lake.'
' Type "Wait" to wait for a boat. '
'Type "Swim" to swim across.\n').lower()
if choicce2 == "wait":
choice3 = input('You arrive at the island unharmed. '
'here is a House with 3 doors. One red. one Yellow, one blue. Which color you choose. \n').lower()
if choice3 == "red":
print("It's a room full of fire. Game Over")
print('''( . )
) ( )
. ' . ' . ' .
( , ) (. ) ( ', )
.' ) ( . ) , ( , ) ( .
). , ( . ( ) ( , ') .' ( , )
(_,) . ), ) _) _,') (, ) '. ) ,. (' )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^''')
elif choice3 == "yellow":
print("You found the treasure. You Win!")
print(''''
,. ,. ,.
|| || || ()
,--. ,-. ,.,-. ,--.,.,-. ,-. ||-.,. ,.|| ,-. ||-.,. ,-. ,.,-. ,--.
//`-'//-\||/|| //-||||/`'//-\ ||-'|| ||||//-\ ||-'||//-\||/|| ((`-'
|| || |||| |||| |||| || || || || /|||||| || || |||| |||| || ``.
\,-.\-//|| || \-|||| \-|| || ||//||||\-|| || ||\-//|| || ,-.))
`--' `-' `' `' `-,|`' `-^-``' `-' `'`' `-^-``' `' `-' `' `' `--'
// .--------.
,-.// .: : : :___`.
`--' .'!!::::: \_\ `.
: . /%O!!::::::::\_\. --
[""]/%%O!!::::::::: : . --
| |%%OO!!::::::::::: : . |
| |%%OO!!::::::::::::: :|
| |%%OO!!!::::::::::::: :|
: .'--`.%%OO!!!:::::::::::: :|
: .: /`.__.'\%%OO!!!::::::::::::/
: . / \%OO!!!!::::::::::/
,-'``'-. ; ;%%OO!!!!!!:::::'
|`-..-'| | ,--. |`%%%OO!!!!!!:'
| . :| |_.','`.`._| `%%%OO!%%'
| . : | |--' `--| `%%%%'
|`-..-'| || | | | | /__\`-.
\::::::/ ||)|/|)|)|\| /
---------`::::'--|._ ~**~ _.|----------( -----------------------
)( | `-..-' | \ ______
)( | |,--. ____/ / /\ ,-._.-'
,-')('-. | |\`;/ .-()___ : |`.!,-'`'/`-._
( ' ` )`-._ _.-'|;,| `-, \_\__\`,-'>-.,-._
`-....-' ```` `--' `-._ (`- `-._`-.
''')
elif choice3 == "blue":
print("You enter a room of beasts. Game Over")
print('''
( )
((((()))
|o\ /o)|
( ( _')
(._. /\__
,\___,/ ' ')
'.,_,, ( .- . . )
\ \ ( ' )( )
\ \ \. _.__ ____( . |
\ /\ .( .' /\ '. )
\( \.-' ( / \/ \)
' ()) _'.-|/\/\/\/\/\|
'\ .( |\/\/\/\/\/|
'(( \ /\ /
(((( '.__\/__.')
((,) / ((() )
"..-, (()(" /
pils _//. ((() ."
_____ //,/" ___ ((( ', ___
(( )
/ /
_/,/'
/,/,"
''')
else:
print("You chose a door that does'nt exist. Game Over")
else:
print("You got attacked by an angry trout. Game Over")
else:
print("You fell in to a hole. Game Over")