blob: a7d884843139d7e0ac642e97bf3f2bbd3b51abe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class Tile:
def describe(self):
print("You are now on the island. In front of you there are some trees "
"and a small path. Feeling adventurous?")
def action(self, player, do):
print("Sorry, I don't understand")
def leave(self, player, direction):
if direction == "e":
print ("You can't go back by swimming, that part is full of "
"electric eels.")
return False
else:
return True
|