Source code

Robot: Fruitday3713

Source code:
public class Fruitday3713 extends Fruitday {

    public void strategy() {

        for (int i = 0; i < 3; i++) { //for each member in our team

            Peasant p = myTeam[i];

            int t = 0;
            while (t < 3 && opponentTeam[t].hp <= 0)
                t++;

            if (t > 2)
                t = 0;
            
            p.action = t; 
        }
    }
}

[<] My robots