This repository is a agario test with the Fable 5 Model from anthropic
- JavaScript 88.2%
- CSS 6.7%
- HTML 5.1%
Express + ws + node:sqlite + argon2 server with a vanilla JS canvas client, per the plan in PROMPT.md (stack swapped from Rust to Node, launched via `pnpm run dev`): - Accounts: register/login/logout with argon2 hashes and 30-day session tokens (cookie + token for the WS join) - Skins: multipart upload (PNG/JPEG, <=256KB) stored as blobs, served at /api/skin/:id, circular-clipped on canvas with letter avatars for accounts without an upload - Game: server-authoritative 60 TPS engine - movement, food, eating, splitting, ejecting, merge timers, viruses, leaderboard, spatial-grid food lookups, viewport-culled snapshots - Client: interpolated rendering, smooth camera with size-based zoom, death screen, touch controls Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| scripts | ||
| src | ||
| static | ||
| .gitignore | ||
| package.json | ||
| pnpm-lock.yaml | ||
| PROMPT.md | ||