Skip to content

itiden/ai-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Itiden AI Game

A small Phaser platform game with a local "Continue build the game" workflow.

Development

Run the game and the local builder API together:

npm install
npm run dev

The browser game runs through Vite. The builder API runs on a second local process and creates git worktrees for each approved feature request.

Continue Build Flow

  1. Open the game in dev mode.
  2. Click Continue build the game.
  3. Describe one small feature.
  4. The app verifies that the request is small enough.
  5. A git worktree is created.
  6. A local coding agent implements the change.
  7. npm test and npm run build run inside the worktree.
  8. If both pass, the feature branch is merged back into the current branch and the browser reloads.

The repository working tree must be clean before starting a build request, otherwise the merge back into the current branch is blocked.

Local Agent Settings

  • BUILD_AGENT=codex|opencode selects the implementation agent. Default: codex
  • SCOPE_REVIEW_AGENT=codex selects the AI reviewer used to keep changes small. Default: codex
  • ALLOW_HEURISTIC_SCOPE_FALLBACK=true|false decides whether the build may continue when the AI reviewer is unavailable. Default: true
  • KEEP_FAILED_WORKTREE=true|false keeps failed worktrees under .ai-worktrees/. Default: false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors