Make your game
This page starts your first game. It assumes you finished Connect your agent, and that your agent answers list_templates with the example template.
Make the game in an empty folder outside the repository, so that it stays yours. Choose one of the following:
- To build a game from an idea, run
/studio:game-builderwith the idea, such as/studio:game-builder a cat collects fish before the tide comes in. The skill creates the project, then asks you one question at a time. - To start from the example, run
/studio:new-game example my-game. It createsmy-gameand asks what the game does first.
In Codex, which has no slash commands, ask for the same thing in words: “Build me a game with the game-builder skill: a cat collects fish before the tide comes in.”
A game outside the repository installs the engine from GitHub Packages, which needs a token from an account with access to the repository, in your ~/.npmrc. Install says how to add one.
To write the code yourself instead, follow Your first game.