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