For some reason, my peasants are walking towards me instead of the ball. This is my code:
# Command the peasants to prevent the ogres from scoring.
# The fireball is type "ball".
loop:
friends = self.findFriends()
ball=self.findByType("ball")
for peasant in friends:
self.command(peasant, "move", {"x":15,"y":ball.y})