mirror of
https://github.com/tiennm99/loto.git
synced 2026-10-14 00:16:47 +00:00
76652526079cc8c1c6e1a18ffbd168e8e3a7ea79
Match the BAMBOORAFT physical sheet: - Cell aspect changed from square to 3:5 (taller than wide), matching the printed paper proportions - Number cells rendered with .tan-tan-num: condensed system-font stack (Arial Narrow / Avenir Next Condensed / Roboto Condensed), font-weight 900, negative letter-spacing for tight fall-back on platforms without a true condensed face. Sized text-2xl / sm:text-3xl to fill the taller cells. Black number on white cell. - Default empty-cell color flipped from Minh Tân brown (#7a4a2b) to BAMBOORAFT blue (#1e88e5). Settings store + test updated. Users who picked a different color in settings keep their choice. - Section dividers and labels recolored from orange to matching blue. - Section labels relabelled to the BAMBOORAFT trio: "Tân Tân" / "An khang thịnh vượng" / "Tân Tân tốt nhất"
Lô tô
Bàn số của trò chơi "Lô tô" — SvelteKit app.
Two routes: / for players, /master for the host (quản trò) — calls
numbers, shows a tracking board, and has its own player card to play along.
See docs/ for architecture, code standards, and deployment.
Development
npm install
npm run dev
Inside code-server (reverse proxy)
cp .env.example .env.local
# edit .env.local: set CODESERVER_HOST and CODESERVER_PORT
npm run dev:codeserver
Open https://<CODESERVER_HOST>/absproxy/<CODESERVER_PORT>/.
Use /absproxy/{port}/, not /proxy/{port}/ — the latter strips the
path prefix and breaks the SvelteKit base path.
Build
npm run build # default — root basePath, for Cloudflare Pages
npm run build:gh # /loto basePath, for tiennm99.github.io/loto manual export
Static export to build/. Deployed to Cloudflare Pages from main
(set up via the CF dashboard — see docs/deployment-guide.md).
Description
Lô Tô (Vietnamese lottery bingo) number board — Next.js web app
Readme
4.1 MiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
89.9%
CSS
8%
JavaScript
2.1%