Skip to content

Commit

Permalink
with sound
Browse files Browse the repository at this point in the history
  • Loading branch information
madbag committed Aug 24, 2023
1 parent a032022 commit d8180b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ class Game {
this.hitPosition = null;
this.timerId = null;
this.randomBurnId = null;
this.splashWater = new Audio('../images/sound/water-splash-46402.mp3u')
this.gameMusic = new Audio('./images/sound effect/FIREBG.m4a')
this.gameOverMusic = new Audio('./images/sound effect/gameover.mp3')
this.splashWater = new Audio('./images/sound/water-splash-46402.mp3u')
this.gameMusic = new Audio('./images/sound/FIREBG.m4a')
this.gameOverMusic = new Audio('./images/sound/gameover.mp3')
this.gameScreen = document.querySelector('.game-screen');
this.gameOverScreen = document.getElementById('gameOverScreen');
this.finalScore = document.getElementById('finalScore');
Expand Down

0 comments on commit d8180b1

Please sign in to comment.