From 51f9c085095c95885b910d4837d6c2476fa9e86c Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Thu, 14 May 2026 10:21:12 -0700 Subject: [PATCH] Increase player walk speed from 10 to 20px per tick --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index 7c002c6..ba3a9dc 100644 --- a/game.js +++ b/game.js @@ -183,7 +183,7 @@ class Game { const viewH = world.parentElement.offsetHeight || 300; const worldW = world.offsetWidth || viewW * 4; - const SPEED = 10; /* px per tick */ + const SPEED = 20; /* px per tick */ let dx = 0, dy = 0, dir = ''; if (this._heldKeys.has('right')) { dx = SPEED; dir = 'right'; }