Rune Games CLI
Test your HTML5 game inside a mock Rune app to ensure your game works with the Rune SDK.
Install
yarn global add rune-games-cli
npm install -g rune-games-cli
Here's download links for the yarn and npm package managers in case you don't already have one installed.
Use
Test your game
cd game/path && rune start
rune start game/path
rune start https://game-url.com
You should see something like
╭──────────────────────────────────────────────────────────────────────────╮
│ │
│ Test locally: http://localhost:3000 │
│ Test on your phone: http://192.168.50.252:3000 (same network only) │
│ Game: /my-games/my-game-1 │
│ │
│ Press `q` to exit Rune CLI v1.1.0 │
│ │
╰──────────────────────────────────────────────────────────────────────────╯
When you open this URL you should see your game running inside a mock Rune app.
Press the ⚙️ icon to open the developer tools. There you can e.g. change the game
challenge number.
Upload your game
cd game/path && rune upload
rune upload game/path
This command will log you in using your email (if it's the first time) and then guide you through the game upload process.
See your games
rune list