Commit Graph
11 Commits
Author SHA1 Message Date
tiennm99 bca0e6866d feat: add player board for game master
Master page now embeds a separate playing card so the host can play along
while drawing numbers. Extracted shared grid logic into a reusable
PlayerBoard component with a configurable storage prefix.
2026-04-26 19:16:38 +07:00
tiennm99 30554d21a2 feat: add "Kinh!" congrats popup and "Chờ X" waiting toast
Show animated congrats when all 5 numbers in a row are crossed.
Show "Chờ [number]" toast overlay when 4/5 crossed. Auto-fades
after 5s or dismissible by tap.
2026-04-04 22:44:12 +07:00
tiennm99 23713d709b fix: make master board view-only and enlarge control buttons 2026-04-04 22:34:00 +07:00
tiennm99 bffbe85547 feat: add game master page with number generator and tracking board
9x10 master board to track called numbers, random draw button,
call history, and manual toggle. Conditional basePath for local dev.
2026-04-04 22:28:05 +07:00
tiennm99 bb9816a745 feat: add GitHub Pages deployment workflow
Configure static export and GitHub Actions workflow
to auto-deploy to GitHub Pages on push to master.
2026-04-04 22:17:18 +07:00
tiennm99 035cff3e1b fix: equal cell sizing with CSS grid and improved UI design
Use CSS grid for uniform cell sizes, gradient accents,
cleaner color palette, and footer with heart emoji link.
2026-04-04 22:03:40 +07:00
tiennm99 66aba2626f feat: convert to Next.js with TypeScript and Tailwind CSS
Replace vanilla HTML/JS/CSS with Next.js App Router, TypeScript,
and Tailwind CSS. Responsive design with dark mode support.
All original game logic preserved: grid generation, click-to-cross,
localStorage persistence.
2026-04-04 21:51:07 +07:00
tiennm99 3101e08ea0 Create loto.js 2025-12-21 09:55:19 +07:00
tiennm99 43cc9881bf [Change] random number algorithm 2021-02-08 20:30:54 +07:00
tiennm99 3ec7fe808d Init 2021-02-08 18:47:14 +07:00
miti99 2c18987bbd Initial commit 2021-02-08 11:10:48 +00:00