blob: e94e24c1cbc971e1bc3d84a0627b5781d75b5c4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class Tile:
def describe(self):
print("The sandy beach is transforming into big rocks but it looks "
"like you are able to climb them.\n"
"Just be carefull because they are a bit slipery.")
def action(self, player, do):
print("Sorry, I don't speak giberish.\n")
def leave(self, player, direction):
if direction == "s":
print("Are you planing to throw your self to the rocks? You can't "
"go there!\n")
return False
else:
return True
|