From 18673c95c4f5b0e8f0dd47ed940d3f89c8d86e40 Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Sat, 9 Nov 2024 02:25:16 -0600 Subject: [PATCH] snake: decrease speed slightly more --- src/snake.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snake.ts b/src/snake.ts index 7932580..c1b8026 100644 --- a/src/snake.ts +++ b/src/snake.ts @@ -64,7 +64,7 @@ class SnakeCore { this.canvas = document.getElementById('snake') as HTMLCanvasElement; this.context = this.canvas.getContext('2d') as CanvasRenderingContext2D; this.grid = 25; // size of grid squares - this.timeout = 25; // speed in ms + this.timeout = 30; // speed in ms this.width = 25; this.height = 15; this.board = [];