Akki-jaiswal / Akki-jaiswal/pong-game

Add “Mute/Unmute Background Music” Button

Aperta
#222 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
22
Fork
116
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, the game plays background music automatically, but there’s no option for the user to mute or unmute it. Adding a toggle button for background music will improve the user experience, especially for players who want to focus without music.

Skills Required:

HTML

CSS

JavaScript (ES6+)

Acceptance Criteria:

Add a Mute/Unmute button on the game UI (e.g., near the score or pause button).

Clicking the button toggles background music on/off.

The button’s label or icon should update accordingly (e.g., 🎵 / 🔇).

Works for all themes (Default, Neon Retro, Dark, Ocean Blue).

Works on desktop and mobile screens.

Difficulty Level:

Beginner

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.