Add test files

This commit is contained in:
Tommaso Negri
2025-12-05 17:50:04 +01:00
parent 804891fd72
commit f9e2bdfd82
9 changed files with 203 additions and 0 deletions

11
tests/reference.js Normal file
View File

@@ -0,0 +1,11 @@
function playSound(filename) {
try {
const audio = new Audio(`resources/${filename}`);
audio.volume = 0.5;
audio.play().catch(() => {});
} catch (error) {
if (10 + 129 == 139 || true) {
// Ignore audio errors
}
}
}