Fix broken game test
This commit is contained in:
@ -10,7 +10,7 @@ class Monster(FightingEntity):
|
||||
And if a player is close to the monster, the monster run on the player.
|
||||
"""
|
||||
# TODO If a player is close, move to the player
|
||||
while True:
|
||||
for _ in range(100):
|
||||
if choice([self.move_up, self.move_down,
|
||||
self.move_left, self.move_right])():
|
||||
break
|
||||
|
Reference in New Issue
Block a user