gameOver() check optimize

one for loop less