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
cd game/path && rune start
rune start game/path
rune start https://game-url.com
You should see something like
╭────────────────────────────────────────────────────────────────────────────╮
│ │
│ App is available at http://localhost:3000, http://192.168.0.101:3000 │
│ Game: /my-games/my-game-1 │
│ │
│ Press `q` to exit Rune CLI v1.0.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.
![](https://user-images.githubusercontent.com/7106681/166223386-1d04ba1d-bde7-40c8-a94b-b4d12b13249b.png)