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
+3
View File
@@ -111,11 +111,14 @@ test('the application exposes an explicit Russian sound control and cleans audio
assert.match(page, /id="sound-reduced"/);
assert.match(page, /id="recovery-sound-mute"/);
assert.match(page, /src="\/web_audio\.js"/);
assert.match(page, /src="\/game_sounds\.js"/);
assert.match(firmware, /strcmp\(request->uri, "\/web_audio\.js"\)/);
assert.match(firmware, /strcmp\(request->uri, "\/game_sounds\.js"\)/);
assert.match(app, /audio\.cleanup\(\)/);
assert.match(app, /globalThis\.BattleshipAudio\?\.createAudioEngine\?\.\(\) \|\| silentAudio/);
assert.match(app, /visibilitychange/);
assert.match(app, /soundKeys = new Set/);
assert.match(app, /ui\.recoverySoundMute\.hidden = !preferences\.enabled/);
assert.match(app, /\/api\/game\/shot/);
assert.match(app, /sounds\.play\('shot'/);
});