CS 2 level 16 Peasant Protection

The answer for one of my students is the same as the course guide – meaning the move is in the else. However for the other student, the peasant is killed with just the move in the else. This student had to use a move in both the if (after the attack) and the else.

Was this a matter of timing somehow?

Hi, if you could send us an email at team@codecombat.com with your student’s emails, I’m interested in looking at their code to see what might be wrong here.