blob: 0961545d1a4f8e0c5f49c488eefe1bbafcfb1cd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class Tile:
def describe(self):
print("The beach is really quiet and you can hear and see the seagulls "
"on the sea.")
def action(self, player, do):
print("What is this giberish?")
def leave(self, player, direction):
if direction == "e":
print("You can't go back by swimming, that part is full of "
"electric eels.\n")
return False
elif direction == "s":
print("I'm afraid I can't let you go there Dave.\n")
return False
else:
return True
|