🎮
Blade Games
  • Blade Games Whitepaper
    • Blade Games
  • BLADE GAMES OVERVIEW
    • Who We Are
    • Key Partnerships
    • Our Team
  • Dune Factory
    • Gameplay, Play-and-Mine
      • Dune Factory Gameplay Guide
      • Play-and-Mine (Please Wait For New Season)
      • Resources
      • Monster Compendium
    • Private Test (Finished)
      • Must-knows
      • Invite Codes
    • Dune Factory Public Test
  • AI Agents in Blade Games
    • Blade Games AI Agent Overview
    • Our Design Framework
    • How AI Agents Drive Revenue in the Ecosystem
    • Blade Games AI Agent Use Cases
    • Blade Games AI Agent Plan
    • Games Ecosystem That You Can Play
  • ZKUNITY - GAME ENGINE
    • ZKUnity Guide
      • zkWASM
      • ZKUnity
      • Architecture
      • MVC Programming Pattern
      • Demo - a roguelike card game
        • Prerequisites
        • How to run
        • How to play
        • Dir Structure
        • Guide for the backend code
        • Guide for the frontend code
        • ZK Proof
  • Tokenomics
    • Token Utility
    • Token Distribution/Allocation
    • Treasury Wallets Disclosure
  • Important
    • Roadmap
    • Feedback
    • Investors
    • Official Links
Powered by GitBook
On this page
  • Check out the `td` branch
  • Update submodules
  • Compile and run
  1. ZKUNITY - GAME ENGINE
  2. ZKUnity Guide
  3. Demo - a roguelike card game

How to run

PreviousPrerequisitesNextHow to play

Last updated 11 months ago

Clone code

First, please clone the code from:

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: .

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

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

https://github.com/riddles-are-us/trustless-browser-sandbox
http://localhost:3000/