Swap around checks in `is-game-over?'