diff --git a/luckydiamond/public/sounds/start-game.mp3 b/luckydiamond/public/sounds/start-game.mp3 new file mode 100644 index 0000000..bf3be59 Binary files /dev/null and b/luckydiamond/public/sounds/start-game.mp3 differ diff --git a/luckydiamond/src/assets/css/global.css b/luckydiamond/src/assets/css/global.css index 1f770dd..2fa6e95 100644 --- a/luckydiamond/src/assets/css/global.css +++ b/luckydiamond/src/assets/css/global.css @@ -156,4 +156,8 @@ body, html { /*height: 96.2%;*/ } -/* /Saper */ \ No newline at end of file +/* /Saper */ + +/* Media */ + +/* /Media */ \ No newline at end of file diff --git a/luckydiamond/src/pages/games-pages/SapergamePage.vue b/luckydiamond/src/pages/games-pages/SapergamePage.vue index 2ebbc9f..c86fbef 100644 --- a/luckydiamond/src/pages/games-pages/SapergamePage.vue +++ b/luckydiamond/src/pages/games-pages/SapergamePage.vue @@ -296,7 +296,6 @@ export default { this.gameStart = false this.gamesCircle = 0 this.winningAmount = 0 - this.flippedCards = [] const SoundCorrect = new Howl({ src: ['/sounds/incorrect-sound.mp3'], volume: 0.5 @@ -374,9 +373,18 @@ export default { this.errorPlayButton() } else { + this.flippedCards = [] + this.unCorrectClick = [] + this.CorrectsClick = [] this.playNotification() this.gameStart = true this.offEventPointers = true + const soundStartGame = new Howl({ + src: ['/sounds/start-game.mp3'], + volume: 5.0 + }) + + soundStartGame.play() } }, getBalanceUser() {