ends game when neither player has moves