Commit Graph
21 Commits
Author SHA1 Message Date
github-actions[bot] a971e0d6f8 chore(data): sync champions from loldle-data@0258706 2026-04-30 08:12:34 +00:00
github-actions[bot] 0c53fd6abb chore(data): sync champions from loldle-data@7a9d4f6 2026-04-20 14:31:24 +00:00
github-actions[bot] ceae3ed5bc chore(data): sync champions from loldle-data@b01967f 2026-04-20 14:19:08 +00:00
tiennm99 40ffc980af chore: migrate from npm to pnpm 2026-05-13 10:21:09 +07:00
tiennm99 810b5faa14 feat: show newest guess on top of the grid (#2) 2026-04-20 18:30:00 +07:00
tiennm99 407166d033 update README credits to reference loldle-data repo 2026-04-06 11:04:02 +07:00
github-actions[bot] a5f223d6bc chore: update champions.json from loldle-data 2026-04-05 05:18:02 +00:00
tiennm99 9b32b8889c fix: use local date for daily seed instead of UTC
toISOString() returned UTC date, causing the daily game to reset at
UTC midnight rather than local midnight. Users in UTC+ timezones
would see yesterday's completed game until the UTC date rolled over.
2026-04-05 01:14:37 +07:00
tiennm99 31d7127396 feat: clear expired daily game cache from localStorage on app load 2026-04-05 00:55:15 +07:00
tiennm99 e502d43a9c add chrome-dev-tools to gitignore 2026-04-05 00:55:10 +07:00
github-actions[bot] ea8e1f1300 chore: update champions.json from loldle-data 2026-04-04 17:39:57 +00:00
github-actions[bot] 10de5657aa chore: update champions.json from loldle-data 2026-04-04 13:31:22 +00:00
github-actions[bot] ced056fd1b chore: update champions.json from loldle-data 2026-04-04 11:41:57 +00:00
tiennm99 bc5a0784b3 fix: derive basePath from repository name in CI workflow 2026-04-04 12:26:56 +07:00
tiennm99 a130dd191b fix: make basePath configurable via NEXT_PUBLIC_BASE_PATH env var
Enables platform-agnostic deployment — GitHub Pages sets the env var
in CI, while Vercel/Netlify/local dev default to root path.
2026-04-04 12:24:39 +07:00
tiennm99 dc7603459f fix: set basePath for GitHub Pages deployment
Assets and routes now correctly resolve under /loldle subdirectory.
2026-04-04 12:23:16 +07:00
tiennm99 f298ddddc2 ci: add GitHub Pages deployment workflow
- Configure Next.js static export (output: "export")
- Add GitHub Actions workflow to build and deploy on push to main
2026-04-04 11:55:29 +07:00
tiennm99 d9ae9c97d2 refactor: migrate from vanilla JS to Next.js 16 with Tailwind CSS
- Replace vanilla HTML/CSS/JS with Next.js App Router + React components
- Game logic (champion-data, game-engine, classic-mode) moved to lib/
- UI split into modular components (game-board, champion-search, guess-grid, etc.)
- Add Tailwind CSS v4 with CSS variables for theming
- Immutable state updates, fetch deduplication, next/image for CDN images
- champions.json moved from assets/ to public/
2026-04-04 11:52:59 +07:00
tiennm99 9572f39f59 feat: implement LoLdle Classic mode with daily and unlimited play
Vanilla JS web game with modular architecture:
- data-loader: champion data fetching, seeded random selection
- game-engine: mode-agnostic state machine with localStorage persistence
- classic-mode: 7-attribute comparison logic (gender, genre, range, resource, region, lane, year)
- ui-renderer: search autocomplete, colored feedback grid, stats display
- Dark theme responsive UI with Data Dragon CDN champion images
2026-04-04 11:17:47 +07:00
tiennm99 d8d7d8e721 feat: add champions data asset 2026-04-04 10:42:57 +07:00
tiennm99 1e1146b386 Initial commit 2026-04-04 10:41:37 +07:00