> For the complete documentation index, see [llms.txt](https://docs.bladedao.games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bladedao.games/zkunity-game-engine/zkunity-guide/zkunity.md).

# ZKUnity

### What is ZKUnity

ZKUnity is a game engine powered by Zero Knowledge Proof technology. It is open-sourced and developed by Blade Games.&#x20;

ZKUnity can support real-time game categories such as tower defense, RPG, and game genres such as idle games, trading cards, and interactive novels. The game’s logic is run within zkWASM, a “zkServer” to handle computing, and the game result is posted as a zkSNARK proof. We also support languages such as C++, Go, and Rust, with C# and Unity support coming soon.

With a typical 6-minute, 100 monster wave tower defense game, the proof generation time is \~3 minutes. This is a preliminary result, and we are improving the proof generation time quickly.

Game studio partners of ZKUnity include:

[Dune Factory](https://twitter.com/BladeGamesHQ): a base building + tower defense strategy game

[0xPioneer](https://twitter.com/0xpioneer): a survival game similar to “Don’t Starve Together”

[Craftpunk](https://twitter.com/craftpunk_FOCG): an open world space-themed MMORPG with moddable spaceships and procedurally generated map

### Paradigm

ZKUnity implements the paradigm of FOCG (Fully On-Chain Game), based on zkWASM. The following diagram illustrates the relationship between the zkWASM game engine and the blockchain.

<figure><img src="https://miro.medium.com/v2/resize:fit:764/0*O6CBlBKUtAHSS_dq" alt="" height="444" width="700"><figcaption></figcaption></figure>

We call this type of game a trustless game.

For a deep understanding of the paradigm transition, please refer to <https://medium.com/@BladeResearch/blade-games-releases-its-primer-on-trustless-game-engine-909eca075ee2>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bladedao.games/zkunity-game-engine/zkunity-guide/zkunity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
