A web-based AI-enhanced tabletop skirmish game inspired by Warhammer — featuring LLM-powered scenario generation, fog-of-war, unit abilities, achievements, and campaign progression.
- Solo tactical combat with fog-of-war and line-of-sight
- Custom abilities (overwatch, healing, grenades)
- Turn-based AI opponent behavior
- Scenario generation via LLM prompts
- Save/load game state to Firebase
- Progressive Web App (PWA) support
- Cloud deployment (Firebase Hosting or Vercel)
# Install dependencies
cd frontend
npm installnpm run devThen visit: http://localhost:5173
npm run build- Push this repo to GitHub
- Connect it to https://vercel.com
- Set build command:
npm run build - Set output directory:
dist
npm run build
firebase login
firebase init hosting
firebase deployMake sure firebase.json points to frontend/dist
Copy .env.example to .env and fill in:
VITE_FIREBASE_API_KEY=your_key
VITE_LLM_PROVIDER=openai or custom
...
Install to your device like a native app. Offline play and auto-updates enabled.
frontend/src/components/— UI componentsfrontend/src/game/— Game logic (turns, AI, scenarios)frontend/src/utils/— Firebase, toast, date helpersfrontend/src/systems/— Gameplay mechanics (LOS, fog, abilities)
Made with ❤️ and LLMs