A stalemate in battle is created by the opponent who avoids direct contact between troops and does not inflict damage on the opponent.
If the attacking player creates a stalemate, then he is considered to have lost the battle and must retreat.
If the defending player creates a stalemate, then he must make a choice and either offer a draw in the game or retreat. Upon receiving the offer of a draw, the attacker must either accept the draw or retreat.
A siege of a castle with a broken catapult is not considered a stalemate – it is a loss for the attacker, and he must retreat.
In tournaments with a single-elimination system, after a draw, the players return to the situation that existed before the start of the game and begin the next generation with the same number of restarts.
And oops. It turns out that there are still things to be figured out regarding the "Chains of War" mechanic.