GameForge is primarily a learning repo showcasing AI agent patterns with the Claude Agent SDK and Google Gemini. Contributions are welcome — especially bug fixes, documentation improvements, and additional research notes.
- Fork and clone the repo
- Install dependencies:
npm install - Copy env config:
cp .env.example .env.localand add your API keys - Build shared packages:
npx nx run-many -t build --projects=shared-types,game-templates - Run tests:
npx nx run-many -t test
apps/
studio/ Next.js frontend (chat + game preview)
orchestrator/ Express backend (AI agent pipeline)
packages/
shared-types/ TypeScript types shared across apps
game-templates/ Phaser 3 starter templates
- Tests are mandatory. Every new module, function, or component gets corresponding test coverage. All tests must pass before any change is considered complete.
- TypeScript everywhere. Use TSDoc comments on all public APIs.
- Run via Nx. Use
npx nx test <project>,npx nx build <project>, etc. — not the underlying tooling directly.
# All tests
npx nx run-many -t test
# Single project
npx nx test orchestrator
# Type checking
npx nx run-many -t typecheck- Keep changes focused and minimal
- Include tests for any new functionality
- Ensure all existing tests still pass
- Describe what you changed and why in the PR description