blob: 6c82f13627c2bb57c47af3d8ba036e8da790932f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class Tile:
def describe(self):
print("\nYou are walking through the trees. It looks like the path you "
"took leads to a small wooden hut.\nYou saw a tree fall and it didn't "
"make any sound and WOW... that was weired because you were there and "
"observed it!")
# "If a tree falls in a forest and no one is around to hear it,
# does it make a sound?" is a philosophical thought experiment that
# raises questions regarding observation and knowledge of reality.
def action(self, player, do):
print("\nSorry, I don't understand")
def leave(self, player, direction):
if direction == "s":
print("STAHP! Hammer Time!\n(Meaning you just can't go to that "
"direction yet. Sorry! :))\n")
return False
else:
return True
|