PromptAdd sound with the Web Audio API only, no audio files. An engine hum whose pitch rises with speed, a short chime for each ring, and a low thud on game over. Add a mute button in the top right corner that remembers its setting in localStorage.
What you seea hum that climbs as you dive and a chime on every ring.
Want a sound you can tweak first? Make one in the sound effect maker.
If it goes wrongthere's no sound at all, most often on a phone. Browsers block audio until the player taps or presses a key. Paste this:
Fix promptThere is no sound. Create or resume the audio context on the first tap, click or key press, and start the engine hum then.