Highlights
- Play on phones and in the browser. The example games are online at https://aksheyd.github.io/threejam/, and on a touch screen, exported games and
run's page show a key for each keyboard key the game reads, so a keyboard game plays on a phone.
- Check a game's balance.
sim --seeds 0-99 runs the same flags once for each seed and sums up how often and how soon --until held.
- Replay a playtest.
run --record FILE saves what a person played as a driver that sim, shot, and simulate replay exactly.
- Pixel art and 3D. A game can draw pixel art written as text with
sprites, and the new Racer example draws its 2D rules in 3D.
Breaking changes
- Game code may grow its heap to 1 GB, the same on every machine, and past that it fails with
GAME_ERROR. Before, the limit followed the machine's memory, so a game that kept more than 1 GB could pass on one machine and fail on another.
Also
run's page and exported games answer advanceTime and render_game_to_text, the hooks OpenAI's develop-web-game client drives a game with.
export --script URL adds a script, like a game jam's widget, to an exported page.
- The package ships the agent skill, and the docs'
npx skills add installs it from the latest release's tag.
run keeps serving after a save that doesn't build and stops promptly on macOS, and on macOS and Linux its window closes however it ends.
run, shot, check, and the MCP server leave less behind when they're stopped or killed, and an MCP server whose client closes stdin gives its calls 2 s to finish, then exits.
Full changes: #4 through #25, in the changelog.