# How to run

Clone code

First, please clone the code from: <https://github.com/riddles-are-us/trustless-browser-sandbox>

```
git clone 
https://github.com/riddles-are-us/trustless-browser-sandbox
```

### Check out the \`td\` branch

```
cd trustless-browser-sandbox
git check td
```

### Update submodules

```
git submodule init
git submodule update
```

### Compile and run

```
cd roguelike
make wasm
cd ..
npm install
npm run start
```

then the nodejs will boot up a web server, you can access this service by: <http://localhost:3000/>.

You will see a page displayed in your default browser like this:

<figure><img src="https://1374647683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FarjUBPuxE2BwdBkBMCBr%2Fuploads%2FYEqj4zVgF7qDZktILD9N%2Fimage.png?alt=media&#x26;token=ac593a20-6acc-4c00-8dd0-516ec64b8761" alt=""><figcaption></figcaption></figure>

The first one: Card Game Demo is the one we will talk about in the following documents.
