123
This commit is contained in:
@ -115,6 +115,15 @@
|
||||
});
|
||||
}
|
||||
|
||||
function forge() {
|
||||
const c = init();
|
||||
if (!c) return;
|
||||
const notes = [392, 523, 659, 784];
|
||||
notes.forEach((f, i) => {
|
||||
setTimeout(() => beep(f, 0.2, 'sine', 0.12), i * 90);
|
||||
});
|
||||
}
|
||||
|
||||
global.Sounds = {
|
||||
init,
|
||||
playCard,
|
||||
@ -126,5 +135,6 @@
|
||||
hoverCard,
|
||||
timerWarning,
|
||||
timerEnd,
|
||||
forge,
|
||||
};
|
||||
})(typeof window !== 'undefined' ? window : globalThis);
|
||||
|
||||
Reference in New Issue
Block a user