Fix function calls in isGameOver