Fixed typo in isGameOver