@arcane-engine/create
v0.10.2
Published
Create a new Arcane game project
Downloads
1,737
Maintainers
Readme
@arcane-engine/create
Scaffolding tool for creating new Arcane game projects.
Usage
npm create @arcane-engine/game my-game
cd my-game
npm install
arcane devThis creates a new Arcane project with:
package.jsonwith @arcane-engine/runtime dependencytsconfig.jsonfor TypeScript (with@arcane/runtime→@arcane-engine/runtimepath mapping)src/game.tsfor pure game logicsrc/visual.tsfor rendering (entry point)AGENTS.mdwith LLM development guideCOOKBOOK.mdwith advanced pattern recipestypes/arcane.d.tswith full API declarationsREADME.mdwith usage instructions
Prerequisites
The Arcane CLI must be installed:
cargo install arcane-cliOr build from source:
git clone https://github.com/anthropics/arcane.git
cd arcane
cargo build --release
export PATH="$PATH:$(pwd)/target/release"What This Does
@arcane-engine/create is a thin wrapper around arcane new <name>. It's provided for npm ecosystem ergonomics:
# These are equivalent:
npm create @arcane-engine/game my-game
arcane new my-gameAfter Creation
Install dependencies:
cd my-game npm installRun with hot-reload:
arcane devRun tests:
arcane testAdd recipes:
arcane add turn-based-combat
Next Steps
License
Apache 2.0 — see LICENSE
