snake: revert speed back
This commit is contained in:
		
							parent
							
								
									18673c95c4
								
							
						
					
					
						commit
						082176d75e
					
				| @ -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 = []; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user