Play a song when eating something
This commit is contained in:
parent
7cf478e35e
commit
95b0f2ba19
BIN
assets/eat.mp3
Normal file
BIN
assets/eat.mp3
Normal file
Binary file not shown.
@ -187,6 +187,7 @@ async function startGame(gameID) {
|
||||
|
||||
case FOOD:
|
||||
increaseSize = true;
|
||||
playAudio("assets/eat.mp3")
|
||||
score++;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user