/z4

Z4: multiplayer real-time decentralized game framework (zk powered)

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Z4

Z4 game framework for multiplayer real-time games.

Usage

  1. cargo install z4
  2. z4 new --name my-game

API Document Guide

Contents

  1. engine - Z4 game framework
  2. types - Z4 game framework common types
  3. contracts - On-chain verification and other contracts
  4. node - Universal node when game is running in zkVM
  5. command - a command tool for Z4 game framework

Ecology

  • z4-templates Templates for Z4 game framework. Optional: contract & zk
  • z4-bevy Z4 plugin for Bevy game engine

Games

  • Alien Cake Addict Alien-Cake-Addict game for Z4 & ZK
  • Poker0 A poker game leveraging RISC0 and PLONK for off-chain proof of game processes, with on-chain validation, built on the Z4 engine

License

This project is licensed under GPLv3.