New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

rune-games-cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rune-games-cli

Easy way to test your HTML5 game before releasing it on Rune.


Version published
Maintainers
1
Created

Rune Games CLI

npm GitHub Workflow Status (master)

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
# or
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
# or
rune start game/path
# or
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.

FAQs

Package last updated on 08 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts