@tpgames/create-game
v0.2.0
Published
Scaffold a renderer-neutral TypeScript game without cloning the TPG monorepo:
Downloads
478
Readme
Create a Toilet Paper Games game
Scaffold a renderer-neutral TypeScript game without cloning the TPG monorepo:
npm create @tpgames/game@latest -- signal-rally \
--game-id signal-rally \
--title "Signal Rally"The generated project includes host and controller surfaces, tests, a
registry-ready bundle build, a publish dry-run, and CI that retains the bundle
artifact on pull requests. It also includes AGENTS.md and a standalone TP
Games development skill for compatible coding agents. It depends on the public
@tpgames/game-kit package and leaves the renderer choice to the
game author.
@tpgames/create-game and the generated project's TPG dependencies are public
on npm. You do not need a package token, GitHub Packages access, or a custom
registry login. The generated .npmrc explicitly uses the public npm registry
and never stores a credential.
If @tpgames/sdk-dev-kit is already installed, tpgames init signal-rally
creates the same canonical starter with the game ID and title derived from the
directory name. Both entry points require a target path that does not exist.
