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>
This commit is contained in:
Fredrik Johansson
2026-07-07 19:57:48 +02:00
commit 5629e05a72
15 changed files with 2176 additions and 0 deletions

10
nginx.conf Normal file
View File

@@ -0,0 +1,10 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
}