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