 When it reaches the middle row's end for the second time, it must move down instead of up.It goes back into the home row and repeats the movement pattern.If you lose all your soldiers, you have lost the game.