🎮
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
  • Connect to a wallet
  • Play the Card Game Demo
  1. ZKUNITY - GAME ENGINE
  2. ZKUnity Guide
  3. Demo - a roguelike card game

How to play

PreviousHow to runNextDir Structure

Last updated 11 months ago

Connect to a wallet

Firstly, you have to connect to an existing wallet. The most common wallet is the MetaMask. If you have not installed it, please install the MetaMask web browser plugin.

After the game has been connected to the wallet, you will find that the UI has some little changes:

Play the Card Game Demo

Click the "play" button of the first game card,

You will look at a new page:

Click the "Start Play" button to continue further.

After a signature request to the wallet, you will see the demonstrated game UI:

It has the simplest card battle form: you (the user) are the doge on the left, and every round you have 3 times of attack abilities, you can choose to strike on the first round and choose to defend on the next round, and so on and on. At every turn change, the enemy (the doge on the right) will attack you. If your HP <= 0, you lose; if the enemy's HP <=0, you will go ahead and face a new doge enemy.

The game mechanism is very simple, you can dig it by yourself. Good luck.