🎮
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
  • Install Rust
  • Install `wasm-pack`
  • Install nodejs and npm
  1. ZKUNITY - GAME ENGINE
  2. ZKUnity Guide
  3. Demo - a roguelike card game

Prerequisites

PreviousDemo - a roguelike card gameNextHow to run

Last updated 11 months ago

Some prerequisites should be filled in before compiling the demo code.

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install `wasm-pack`

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Install nodejs and npm

Please refer to install nodejs and npm.

If in the following steps, your OS complains that some tool is missing, please install it regarding the prompts.

https://nodejs.org/en/download/package-manager