From 082176d75e496526c2ec974361630f9b58ef5c14 Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Sat, 9 Nov 2024 02:32:14 -0600 Subject: [PATCH] snake: revert speed back --- src/snake.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snake.ts b/src/snake.ts index c1b8026..7932580 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 = 30; // speed in ms + this.timeout = 25; // speed in ms this.width = 25; this.height = 15; this.board = [];