Skip to main content

Wargrid Rebuild

This page explains the current rebuild strategy.

Goals

  • rebuild the prototype on Bun, Turborepo, SvelteKit, Elysia, Colyseus, Postgres, Drizzle, and Valibot
  • preserve the prototype as a legacy reference
  • make every major feature easy to validate by AI agents and humans
  • keep documentation and agent notes as first-class product artifacts

Legacy Preservation

The old workspace remains available under:

  • tmp/legacy-prototype/
  • tmp/legacy-root-apps-api/
  • tmp/legacy-root-apps-game/
  • tmp/legacy-root-apps-studio/
  • tmp/legacy-root-libs/

Use these paths when extracting behavior, assets, and operational flows.

New Workspace

The new production workspace is organized as:

  • apps/site
  • apps/play
  • apps/admin
  • apps/api
  • apps/multiplayer
  • apps/docs
  • apps/blog
  • apps/studio
  • packages/*

Current Focus

Phase 0 is documentation-first.

  • extract current gameplay, auth, history, CDP, image tooling, and studio flows
  • mirror the rules into Docusaurus docs
  • codify durable rules in AI-NOTES.md
  • establish Bun/Turbo tooling and app scaffolds before deeper gameplay rebuild work