From bd8108e3a8a1ca5d4323642dbda3b279f06f77e9 Mon Sep 17 00:00:00 2001 From: Megha Rajesh Date: Tue, 3 Mar 2026 21:02:29 +0530 Subject: [PATCH] Add complete sound system with background music and localStorage persistence --- Memory-block-game-main/code/index.html | 10 +- Memory-block-game-main/code/script.js | 102 +++++++++++++----- Memory-block-game-main/code/sounds/bg.mp3 | Bin 0 -> 259134 bytes Memory-block-game-main/code/sounds/flip.mp3 | Bin 0 -> 19968 bytes Memory-block-game-main/code/sounds/match.mp3 | Bin 0 -> 91115 bytes .../code/sounds/mismatch.mp3 | Bin 0 -> 34560 bytes Memory-block-game-main/code/sounds/win.mp3 | Bin 0 -> 105325 bytes Memory-block-game-main/code/styles.css | 8 ++ 8 files changed, 91 insertions(+), 29 deletions(-) create mode 100644 Memory-block-game-main/code/sounds/bg.mp3 create mode 100644 Memory-block-game-main/code/sounds/flip.mp3 create mode 100644 Memory-block-game-main/code/sounds/match.mp3 create mode 100644 Memory-block-game-main/code/sounds/mismatch.mp3 create mode 100644 Memory-block-game-main/code/sounds/win.mp3 diff --git a/Memory-block-game-main/code/index.html b/Memory-block-game-main/code/index.html index 739cdc6..645eb15 100644 --- a/Memory-block-game-main/code/index.html +++ b/Memory-block-game-main/code/index.html @@ -42,10 +42,14 @@

Game Settings

- - - + + + + + + +