game-audio.txt
Add sound effects to my game: <list the events>

- Web Audio, with sounds preloaded before play starts.
- Browsers block audio until a user gesture — handle that properly so
  the first sound isn't swallowed, and don't leave the context
  suspended.
- Slight random pitch variation on repeated sounds so they don't
  become grating.
- Cap simultaneous instances of the same sound. Ten coins collected at
  once must not be ten overlapping clips at full volume.
- A mute toggle, remembered in localStorage, and honour it from the
  first frame.

Separate volume for effects and music. Default the whole thing to a
sensible level, not maximum.

Never autoplay music on load. Muted by default with an obvious unmute is the version people don't close the tab on.