We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06ea072 commit 68db607Copy full SHA for 68db607
game/tcs.html
@@ -59,7 +59,7 @@
59
if (head.x < 0 || head.x >= canvas.width/gridSize ||
60
head.y < 0 || head.y >= canvas.height/gridSize ||
61
snake.slice(1).some(seg => seg.x === head.x && seg.y === head.y)) {
62
- alert('游戏结束!得分: ' + score);
+ alert('如在玩,请刷新网页游戏结束!得分: ' + score);
63
location.reload();
64
}
65
0 commit comments