create-stakeplate
v0.1.2
Published
Scaffold a Stake Engine slot game on @stakeplate/core — `npm create stakeplate@latest`
Maintainers
Readme
create-stakeplate
Scaffold a new Stake Engine slot game built on
@stakeplate/core — the batteries-included
game core (RGS transport, boot, round FSM, HUD wiring, audio, compliant rules).
npm create stakeplate@latest my-game
# or: pnpm create stakeplate my-game · yarn create stakeplate my-game
cd my-game
npm install
npm run dev # boots + spins on a local mock RGS — no backend neededYou get a compliant skeleton day one: the #hud / #scene / #boot hosts, a Stake-correct
single-bundle vite.config (base: './' + pixi dedupe), a tiny pixi scene, a demo network,
and a createStakeGame(...) entry point. Reskin the scene, write your pure interpretBook,
and ship.
What's inside the template
src/main.ts— the whole game: onecreateStakeGamecall.src/Scene.ts— the pixi scene you replace with your reels/boards.src/demoNetwork.ts— a mock RGS for local dev (deleted in production; the core talks to the real Stake RGS).src/rules.ts— abuildRulesstarter (compliant info menu + social wording).
See the @stakeplate/core docs for the full model.
License
MIT © schmooky and the stakeplate contributors.
