repl.it
@Fireballme/

thereheis

Python

you found him

fork
loading
Files
  • main.py
main.py
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
import time
def clear():
  print(chr(27)+'[2j')
  print('\033c')
  print('\x1bc')
def etc():
  input("(Enter to continue)")
def nrt():
  print("You can't do that.")
  etc()
x = 99999
y = 99999

def wait(timeforwait):
  time.sleep(timeforwait)
clear()
print("Hello.")
etc()
clear()
print("It looks like you found me.")
etc()
clear()
print("It's-a me...")
etc()
clear()
print("M")
wait(0.5)
clear()
print("M A")
wait(0.5)
clear()
print("M A R")
wait(0.5)
clear()
print("M A R I")
wait(0.5)
clear()
print("M A R I O")
etc()
clear()
print("...")
input("(Enter to continue)")
clear()
print("You're going to have to find me again.")
input("(Enter to continue)")
clear()
print("I'm in the castle.")
input("(Enter to continue)")
clear()
print(" __    _____ _____ _____ __       _____ _____ _____ _____ _____ ")
print("|  |  |   __|  |  |   __|  |     |   __|_   _|  _  | __  |_   _|")
print("|  |__|   __|  |  |   __|  |__   |__   | | | |     |    -| | |  ")
print("|_____|_____|\___/|_____|_____|  |_____| |_| |__|__|__|__| |_| ")
wait(2)
clear()
def turn():
  clear()
  if ((x == 2) and (y == 2)):
    while ((x == 2) and (y == 2)):
      print("The bars are down now. This    +-MAP---+")
      print("area is rather empty.          |      ?|")
      print("                               |█?████ |")
      print("                               |    H# |")
      print("                               |█?████ |")
      print("                               |  @  ?█|")
      print("Available directions:          |   ████|")
      print(" ([n],[e],[s],[w])             +FLOOR1-+")
      action = input(">>")
      if (action == "n"):
        x = 2
        y = 3
        turn()
while (x != 2):
  print("There are bars surrounding you, and there is a rolled up note in front of your feet.")
  print("It seems all you can do right now is [read] it.")
  readyes = input(">>")
  if (readyes == "read"):
    x = 2
    y = 2
    print("You read the note.")
    print(",------------------------------,")
    print("'------------------------------'")
    print("|                              |")
    print("| It's-a me, Mario! I am near. |")
    print("| To move around in this game, |")
    print("| just type [n] to move north, |")
    print("| [e] to move east, [s] to     |")
    print("| move south, [w] to move      |")
    print("| west, [u] to move up, or [d] |")
    print("| to move down.                |")
    print("|                              |")
    print("| You might have to find a     |")
    print("| key or other item to get     |")
    print("| past certain areas. When you |")
    print("| find an item, you can type   |")
    print("| [grab] to collect it! When   |")
    print("| you want to use an item,     |")
    print("| type [use].                  |")
    print("|                              |")
    print("| I have generously given you  |")
    print("| a map. On it, there are some |")
    print("| symbols. Here is what they   |")
    print("| mean: @ is you. █ is a wall. |")
    print("| ? is another object, H is a  |")
    print("| door, and # is stairs.       |")
    print("|                              |")
    print("| Oh, and the directions you   |")
    print("| can go in will always be at  |")
    print("| the bottom line. Type [read] |")
    print("| to read this note at any     |")
    print("| time! Let's-a go!            |")
    print("|                              |")
    print("|                              |")
    print("|                  Mario       |")
    print("|                              |")
    print("|                              |")
    print(",------------------------------,")
    print("'------------------------------'")

    input("(Enter to continue.)")
    turn()
  else:
    clear()
    nrt()
    clear()
?