# Hybrid Game

By [yamapyblack](https://paragraph.com/@yamapyblack) · 2024-05-23

---

In this article, we'll explore what **Hybrid Game** is and why it's essential.

We envision a future where everyone can easily and safely enjoy Blockchain Games.

### Why Blockchain Game?

The appeal of blockchain games is best captured by the phrase "Play to earn by your own assets". Players utilize their owned assets to play and earn new assets.

This is similar to the analog Pokémon card game, where players use their favorite cards to battle and earn rare cards as rewards.

Blockchain technology allows humanity to own digital data for the first time, as detailed by Chris Dixon, a partner at a16z, in his concept of "[ReadWriteOwn](https://readwriteown.com/)". The fun lies in playing with owned assets and earning new ones.

### Offchain Game vs Onchain Game

![](https://storage.googleapis.com/papyrus_images/818202f41d6e0a80684782fe14ea49d5bee86fbdbc41aaf8acb309a18ee14a23.jpg)

Let's examine the current mainstream of blockchain games, Offchain games. "Do users truly own these assets?" Even if they do, can these assets be freely issued or devalued by the admin's authority?

This is akin to the issues between CeFi and DeFi. In response, we developed a decentralized game, an Onchain game. However, Onchain games suffer from poor UX and the risk of smart contract hacking (as many DeFi projects have been hacked).

### What is the Hybrid Game

![](https://storage.googleapis.com/papyrus_images/42860d7bb917a41d2bcc0fd73c058f7f54b1f0b128a78b445ecd1487338691f0.jpg)

We propose a "Hybrid Game", maintaining asset ownership (Self-custody) while running the game Offchain to enhance UX.

Specifically, the game records three elements Onchain: the start state, end state, and random number seed. This system is inspired by the Ethereum Layer2 solution "Plasma", and we named it "**PlasmaEngine**". Plasma writes the initial and final states to Ethereum L1, with intermediate states handled Offchain.

With "PlasmaEngine", we can offer scalable games while ensuring asset ownership.

### How does PlasmaEngine work?

![](https://storage.googleapis.com/papyrus_images/7301754d786fb73cff95793c6fdb79e7a7d74c705c987220798e79dc78d06d40.png)

This engine is primarily designed for auto-progress strategy battle games (not applicable to all game genres).

In games using this engine, users make only two transactions: at the start and end of the game.

1.  The user strategizes, selects battle members, equips them, and prepares.
    
2.  Once ready, the user initiates the battle with a transaction.
    
3.  This transaction records the random number seed Onchain.
    
4.  The battle begins, conducted entirely Offchain using Onchain data.
    
5.  The admin signs the battle result and returns it to the user.
    
6.  The user receives the signature and records the end transaction.
    
7.  The battle result is recorded Onchain.
    

Some critics may point out the need for the admin's private key, suggesting centralization. However, the scope is limited, and any admin misconduct is easily detectable, as the random number seed is public (assuming the battle logic is open-source). With the start state and random seed, anyone can verify the end state at any point.

Currently, there is no mechanism to forcibly correct detected misconduct. We don't believe it's necessary, but technically, it is possible to implement FraudProof or ZkProof like Rollups.

Finally, it would be ideal if users could claim tokens based on Onchain battle results (waiting about seven days might be prudent).

### The Potential of HybridGame to Reach Mass Users

![](https://storage.googleapis.com/papyrus_images/abce48f66925a8f0475293ef1e9d92089c4061c4510755f4f472f387f51eee50.jpg)

With "PlasmaEngine", developers can create infinitely scalable games. Take AutoChess, for instance. This game saw explosive popularity and is still played on various platforms. It’s simple yet deeply strategic. Playing such a game with owned assets would offer a richer gaming experience.

Thus, Hybrid Game can expand the potential of blockchain games, possibly becoming a gateway for reaching mass users who have yet to experience blockchain gaming.

---

*Originally published on [yamapyblack](https://paragraph.com/@yamapyblack/hybrid-game)*
