Skip to content

Commit 6a4fa29

Browse files
committed
docs: update task titles
1 parent 04bc524 commit 6a4fa29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

050-insect catch game/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ const increaseTime = () => {
6969
s = s < 10 ? `0${s}` : s;
7070
timeElement.innerHTML = `Time: ${m}:${s}`;
7171
seconds++;
72+
// Add a Game Over State
7273
if (seconds > 30) {
7374
clearInterval(gameInterval);
7475
showGameOver();
7576
}
7677
};
7778

78-
// Add a Game Over State
7979
const showGameOver = () => {
8080
gameOverSound.currentTime = 0;
8181
gameOverSound.play();

0 commit comments

Comments
 (0)