function gameOver() {
        timeUp = true;
        gameOverEffect();
        stopMusic();
        checkHighScore();
        gameOverMenuLaunch();
        gameOverScore.innerText = score;
        gameOverHighScore.innerText = highScore;
}
// This function ends the game, and calls the Game Over Menu function
This function ends the game, and calls the Game Over Menu function
This function ends the game and calls the Game Over Menu function
function gameOver() {
        timeUp = true;
        gameOverEffect();
        stopMusic();
        checkHighScore();
        gameOverMenuLaunch();
        gameOverScore.innerText = score;
        gameOverHighScore.innerText = highScore;
}
function gameOver ( ) { timeUp = true ; gameOverEffect ( ) ; stopMusic ( ) ; checkHighScore ( ) ; gameOverMenuLaunch ( ) ; gameOverScore . innerText = score ; gameOverHighScore . innerText = highScore ; }
This function ends the game, and calls the Game Over Menu function
This function ends the game and calls the Game Over Menu function