-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
80 lines (67 loc) · 4.06 KB
/
main.py
File metadata and controls
80 lines (67 loc) · 4.06 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
# author @aesha98
# Day 3: Treasure Island
#display ascii art
print('''
/\
||
||
||
|| ~-----~
|| /===-- ---~~~
|| ;' /==~- -- - ---~~~
|| (/ (' /=---- ~~_ --( '
|| ' / ;' /=---- \__~
' ~==_=~ '(' ~-~~ ~~~~ ~~~--\~'
\\ (c_\_ .i. /~-- ~~~-- -~ ( '
`\ (}| / / : \ / ~~------~ ~~\ (
\ ' ||/ \ |===| /~/ ~~~ \ \(
``~\ ~~\ )~.~_ >._.< _~-~ |`_ ~~-~ )\
'-~ { / ) \___/ ( \ |` ` _ ~~ '
\ -~\ -<__/ - - L~ -; \\ \ _ _/
`` ~~=\ { : }\ ,\ || _ :(
\ ~~=\__ \ _/ \_ / ) } _// ( `|'
`` , ~\--~=\ \ / / _/ / ' ( '
\` } ~ ~~ -~=\ _~_ / \ / \ )^ ( // :_ / '
| , _~-' '~~__-_ / - |/ \ (
\ ,_--_ _/ \_'---', -~ . \
)/ /\ / /\ ,~, \__ _} \_ "~_
, { ( _ )'} ~ - \_ ~\ (-:-) "\ ~
/'' '' )~ \~_ ~\ )-> \ :| _, "
(\ _/)''} | \~_ ~ /~( | :) / }
<`` >;,,/ )= \~__ {{{ ' \ =( , , ;
{o_o }_/ |v '~__ _ )-v| " : ,"
{/"\_) {_/' \~__ ~\_ \\_} ' { /~\
,/! '_/ '~__ _-~ \_' : ' ," ~
(''` /,'~___~ | / ," \ ~'
'/, ) (-) '~____~"; ," , }
/,') / \ / ,~-" '~'
( ''/ / ( ' / / '~'
~ ~ ,, /) , (/( \) ( -) /~'
( ~~ )` ~} ' \)' _/ / ~'
{ |) /`,--.( }' ' ( / /~'
(` ~ ( c|~~| `} ) '/:\ ,'
~ )/``) )) '|), (/ | \) The Threshing
(` (-~(( `~`' ) ' (/ '
`~' )'`') '
` ``
''')
# display welcome message
welcome = 'Welcome To The Threshing\n\n'
game_info = 'A dragon without their rider is a tragedy, and a rider without their dragon is dead\nYour mission is to survive the threshing. Are you worthy enough? Choose wisely.\n'
print(welcome + game_info)
#display first choice
first_choice = input('You are at a crossroads. Where do you want to go?\n Type "left" or "right"\n')
if (first_choice == "left"):
second_choice = input("You keep running and find yourself ashore, no boats available. The next boat is in 10 minutes. Do you swim or wait?\n")
if(second_choice == "wait"):
final_choice = input("You decided to wait, and take the next boat.\n You finally reached an island. There, you saw three door. Red, Blue and Yellow. Which one do you open?\n")
if (final_choice == "red"):
print("You got yourself a mighty, fierce and brave dragon! Congrats, but you can do better")
elif(final_choice == "yellow"):
print("You are the chosen one! you got yourself a legend dragon, who is impressed by your courage throughout the trial.\nCongrats! it can get any better than that")
else:
print("You got suck by a Venin, and now you are one of them, and now you are stuck in this dark path. Game Over.")
else:
print("You got eaten by the Loch Ness Monster. Game Over")
else:
print("You fall into a hole. You died.\nGame Over")