Building a web3 game where game states are used while been encrypted.
Abstract
FHE.GeoMaze is a Unity Web3 demo game.
Some of the encrypted games states are calculated thanks to FHE (full homomorphic encryption).
A maze shaped like a terrain environment that changes randomly with each launch.
Structure
Architecture:
> Client: Unity game,
> Server: blockchain (devnet.zama.ai),
> Network: socket.
Developments are made with:
Frontend
Maze terrain environment: C#, random mesh,
Backend
client:
> Javascript, Node.js,
> fhevmjs (library that enables to interact with blockchains using Zama’s TFHE product (Fully Homomorphic Encryption over the Torus),