Skip to content

Instantly share code, notes, and snippets.

@tomo311
tomo311 / index.html
Last active January 17, 2026 04:34
↓下のコードを、コピーして貼り付けましょう!
↓↓↓貼り付ける
// ======= Sounds =======
const soundGoal = new Audio("goal.mp3");
const soundFly = new Audio("fly.mp3");
const soundFall = new Audio("fall.mp3");
// 多重再生対策(連打しても鳴る)
function playSound(audio) {
audio.currentTime = 0;