Just ran into an infinite loop if front units get healed for more than the damage done to them both. A timer for the round that would result in a tie would eliminate this condition.