- commit
- 20478d5bf5a47f02f7ef8fd741191761d74bdd48
- parent
- ddd26075f4b2f684521e64ea72cc54044eb4d3b0
- author
- Dami <dami.etoile@gmail.com>
| M | README.md | 53 | +++++++++++++++++++++++++----- |
@@ -1,17 +1,52 @@
1-# Fresh project1+# rect.run22 3-Your new Fresh project is ready to go. You can follow the Fresh "Getting4-Started" guide here: https://fresh.deno.dev/docs/getting-started3+rect.run is a daily Shikaku puzzle web app built with Fresh and Deno.54 6-### Usage5+The app generates one puzzle per date from a deterministic seed, stores progress6+in localStorage, and is designed for touch-first play on phones.77 8-Make sure to install Deno:9-https://docs.deno.com/runtime/getting_started/installation8+Core product behavior:109 11-Then start the project in development mode:10+- one daily puzzle route per date11+- deterministic generation from the date seed12+- swipe/drag rectangle entry on the board13+- local resume on the same device14+- fixed one-screen mobile game layout15+- compact clue strip for dense boards16+- PWA metadata and installable web app assets1217 13-```18+Tech stack:19+20+- Deno 221+- Fresh22+- Preact islands for board interaction23+- Deno Deploy-friendly static + server-rendered app structure24+25+Development:26+27+```bash1428 deno task dev1529 ```1630 17-This will watch the project directory and restart as necessary.31+Quality checks:32+33+```bash34+deno task check35+deno task test36+deno task build37+```38+39+Project structure:40+41+- `routes/` page routes and API routes42+- `islands/ShikakuGame.tsx` interactive game UI43+- `lib/shikaku/` puzzle generation, validation, interaction helpers44+- `lib/storage/` local progress persistence45+- `static/` icons and web manifest46+- `tests/` unit tests47+48+Notes:49+50+- `/daily` redirects to the current available puzzle date51+- `/api/puzzles/[date]` returns generated puzzle data for a date52+- branding is set for deployment at `rect.run`