feat: create a large randomized library of playful game sounds and audio combos

This commit is contained in:
2026-08-31 23:48:03 +03:00
parent 17ccc0cb0f
commit c6544716e7
10 changed files with 175 additions and 21 deletions
+10 -2
View File
@@ -1958,7 +1958,7 @@ When all criteria pass, set Milestone 024 to `DONE`, append its execution record
## Milestone 025 — Create a large randomized library of playful game sounds and audio combos
**Status:** `READY`
**Status:** `DONE`
**Depends on:** Milestone 024
### Objective
@@ -2112,11 +2112,19 @@ Add deterministic tests using injected randomness and a fake audio clock coverin
When all criteria pass, set Milestone 025 to `DONE`, append its execution record, and change Milestone 026 from `BLOCKED` to `READY`. Do not start Milestone 026 in the same task unless explicitly requested.
### Execution record
- Date: 2026-08-31
- Result: PASS.
- Evidence: Added `data/game_sounds.js`, a bounded original synthesized-preset director with 86 parameterized cue presets: selection (4), shot (8), miss (10), hit (10), sunk (8), dodge (6), incoming damage (6), turn (6), waiting (4), start (6), victory (8), defeat/rematch (5), and five distinct calm recovery cues. It uses a three-entry anti-repeat history, browser randomness only, safe parameter ranges, version deduplication, perspective-safe public event mapping, reconnect summary handling, waiting rate limiting, reduced-intensity suppression, and bounded combo layers. Integrated it with accepted local shots, target selection, authoritative state feedback, rematch, and recovery controls; no game, transport, role, or server-state behavior changed.
- Verification: All ten host suites passed. All seven browser suites passed, including deterministic catalog-count, anti-repeat, priority, perspective, combo, reduced-intensity, recovery, duplicate-version, and 3,000-selection stress coverage. `node --check` passed for `app.js`, `web_audio.js`, and `game_sounds.js`; `git diff --check` passed. Firmware and LittleFS builds passed. Firmware uses 39,604 / 327,680 B RAM (12.1%) and 1,020,994 / 2,097,152 B flash (48.7%). `game_sounds.js` is 4,538 B raw / 1,580 B gzip; the seven compressed browser assets total 27,023 B, within the 250,000 B LittleFS budget.
- Next action: Milestone 026 is ready. Do not start it as part of this task.
---
## Milestone 026 — Validate Web Audio engagement, compatibility, and long-run stability on real devices
**Status:** `BLOCKED`
**Status:** `READY`
**Depends on:** Milestone 025
### Objective