Sound effects toggle does nothing: no audio files are in the repository
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 72/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- javascript
- Domaine
- frontend
Piste de recherche
Start with js/config.js and js/utils.js to trace the configured sound paths and playSound, then inspect index.html and the game-end handling. Check the existing README and roadmap claims against the shipped behavior. Done means the sound toggle works for all listed events or is hidden, and the README and roadmap accurately describe the result.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
The settings panel has a "Sound effects" toggle and the README lists sound as a feature, but assets/sounds/ does not exist. Turning the toggle on gives no sound and one failed request per move.
Where
js/config.js:38-45(CONFIG.ASSETS.SOUNDSpaths)js/utils.js:184-193(playSound, failure only logged)index.html:50-56(the toggle)README.md:89,README.md:106,README.md:164(feature claims);README.md:295andCHANGELOG.md:13say the files still need addingdocs/ROADMAP.md:71(marked done)
Impact
Users enable the toggle and hear nothing. GAME_END is configured but never played.
Steps to reproduce
- Enable "Sound effects".
- Make a move. No audio; the network tab shows a failed request for
assets/sounds/move.mp3.
Suggested fix
Either add six small, permissively licensed audio files, or synthesize short tones with the Web Audio API in playSound (no binary assets needed). Until then, hide the toggle and correct the README and ROADMAP lines. Play the game-end sound on checkmate and stalemate.
Acceptance criteria
- Enabling the toggle produces sound for move, capture, check, castle, promotion and game end, or the toggle is hidden
- README and ROADMAP match what ships
Getting started
- Relevant files:
js/config.js,js/utils.js,index.html,README.md - How to run tests:
npm install, thennpm testandnpm run lint - Related docs:
docs/ARCHITECTURE.md,.github/CONTRIBUTING.md
Filed by repo-audit/full-audit at 8a2c86c. Severity: low. Effort: S. audit-key: bug|js/config.js|ASSETS.SOUNDS
- Langage dominant
- JavaScript
- Étoiles
- 4
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TMHSDigital/Static_Chess
-
enhancement good first issue severity: medium
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
TMHSDigital/Static_Chess#53 ·
-
documentation good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
TMHSDigital/Static_Chess#49 ·
-
documentation good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
TMHSDigital/Static_Chess#48 ·
-
documentation severity: medium
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
TMHSDigital/Static_Chess#47 ·
-
documentation good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
TMHSDigital/Static_Chess#46 ·
Toutes les issues de TMHSDigital/Static_Chess
Issues similaires
-
good first issue tests
Difficulté 1/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Download a leaderboard as CSVOuverteenhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
growilabs/growi#12246 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
TMHSDigital/Free-Game-Dev-Assets#301 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100