Fixed a bug where game wouldn't end if the defender had no more available moves.