snake: decrease speed again

This commit is contained in:
Trianta 2024-11-09 02:50:24 -06:00
parent 65c7b930e3
commit e37d737d3a

View File

@ -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 = 35; // speed in ms
this.width = 25;
this.height = 15;
this.board = [];