5 Commits

Author SHA1 Message Date
explewd
39e6bd9ba1 Add .dockerignore to shrink the build context sent to the daemon
All checks were successful
Docker / build-and-push (push) Successful in 51s
node_modules/.git/dist were being sent on every build with no
.dockerignore at all — same class of fix as goonk's recent deploy-speed
pass. Verified by building with the new file in place (adventure and
new spot-checked with a full container run + health check; the rest
share the same multi-stage Dockerfile pattern).
2026-07-16 18:48:35 +02:00
explewd
9f091624a3 Add MIT license
All checks were successful
Docker / build-and-push (push) Successful in 45s
2026-07-09 19:55:32 +02:00
Fredrik Johansson
91dd64fbac Lift low-tile contrast: t2 #555→#999, t4 #888→#bbb
All checks were successful
Docker / build-and-push (push) Successful in 54s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-07 20:13:37 +02:00
Fredrik Johansson
f7590125fc Fix tile positioning: split html/body flex, use measured cell size
Applying display:flex to both html and body caused body to shrink-wrap
as a flex item of html, making cells ~53px instead of ~102px. Split the
rule so only body gets the flex centering. Also measure actual cell size
synchronously after initUI mounts and use it for tile translate calculations
so tiles align correctly regardless of container width.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-07 20:07:47 +02:00
Fredrik Johansson
5629e05a72 Initial commit — 2048 terminal game
Plain TS + Vite, JetBrains Mono terminal aesthetic. Includes engine
(pure logic, direction normalization, tile tracking), animated UI
(CSS transitions + keyframes), keyboard/touch input, Dockerfile,
nginx config, docker-compose, and Gitea Actions CI workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-07 19:57:48 +02:00