Add Activities with Snake and Mini golf to play through a wait, paused whenever it is your turn

AI Assisted
This commit is contained in:
jparkerweb committed 2026-10-27 18:20:31 -07:00
1 parent 720758a7ee
commit dbd31611b7
17 files changed
+8920 -7

No files matched your search

+7
View File
@@ -515,6 +515,13 @@ export function wireLooks() {
const preview = ["question", ...Object.keys(SOUND_EVENTS)].find(soundOn);
if (preview) sound(preview);
});
$("looks-activities").addEventListener("change", (e) => {
looks.hideActivities = !e.target.checked;
saveLooks();
// The die comes and goes with the next render, which also closes an open
// Activities window, paused.
redraw();
});
for (const box of document.querySelectorAll("input[data-sound]")) {
box.addEventListener("change", () => {
const event = box.dataset.sound;