function gameOverEffect() {
    stopMusic();
    if (audio.isSoundMuted === false) {
        audio.gameOverAudio.play();
    }
}
// Function plays a victory sound on game completion.
Function plays a victory sound on game completion.
Function plays a victory sound on game completion .
function gameOverEffect() {
    stopMusic();
    if (audio.isSoundMuted === false) {
        audio.gameOverAudio.play();
    }
}
function gameOverEffect ( ) { stopMusic ( ) ; if ( audio . isSoundMuted === false ) { audio . gameOverAudio . play ( ) ; } }
Function plays a victory sound on game completion.
Function plays a victory sound on game completion .