DeFi gaming with chest rewards, and Pyth price feeds. Earn coins, spin for sword NFTs
CryptoMaze is a competitive Web3 battle game that combines the thrill of real-time gameplay with the fairness and transparency of blockchain. Players stake to enter, fight for on-chain glory, and earn rewards powered by decentralized randomness from Pyth Entropy and identity verification via ENS.
⸻
Project Overview
CryptoMaze merges the excitement of competitive gaming with the trustless transparency of blockchain technology. The goal is to bring verifiable fairness, decentralized randomness, and on-chain rewards to the gaming ecosystem, turning every match into a transparent and trustless experience.
⸻
Game Logic & Flow • Entry: Players stake an amount greater than $1 USD to enter the arena — a castle-themed battleground. • Identity Layer: Each player’s wallet is linked to an ENS name, strengthening the Web3 identity ecosystem. • Gameplay: Players compete for three minutes to maximize kills. • Respawn System: When a player dies, they respawn at one of four random locations determined by Pyth Entropy, ensuring decentralized and verifiable randomness.
⸻
Leaderboard & Blockchain Integration • A live leaderboard operates both in Unity and on-chain. • Every kill is recorded on-chain to maintain a transparent and auditable game state. • At the end of a match, Unity submits its leaderboard to a smart contract for validation. • If both datasets match, the winner automatically receives rewards. • If a mismatch occurs, all stakes are refunded automatically.
This ensures fairness, transparency, and verifiability — the foundational principles of blockchain gaming.
⸻
Rewards & In-Game Economy • Winner Rewards: The match winner receives the total staked prize pool. • Treasure Chests: Every participant receives a chest containing in-game coins determined using Pyth Entropy-based randomness. • Marketplace: Players can spend coins to purchase NFTs such as skins, weapons, and other collectibles. • Reward Wheel: Each player also earns a spin on a decentralized reward wheel featuring six possible prizes — coins, NFTs, skins, or weapons — all powered by Pyth randomness.
⸻
Technical Stack • Game Engine: Unity • Blockchain: Flow Testnet • Randomness Provider: Pyth Entropy • Identity: ENS (Ethereum Name Service) • Smart Contracts: Solidity + Flow SDK integration
⸻
Why It Matters
CryptoMaze demonstrates how blockchain can make gaming fair, transparent, and verifiable without compromising on excitement or engagement. It represents a new generation of on-chain games where every kill, reward, and leaderboard entry is provably fair and publicly auditable.
CryptoMaze is built in Unity, featuring a 3D multiplayer battle where four players compete in a castle arena. We integrated the ThirdWeb SDK for seamless wallet connections and blockchain interactions, with Solidity smart contracts handling verification and rewards. ENS replaces wallet addresses with readable names, while Pyth Entropy ensures provable randomness for respawns, treasure chests, and reward wheels. The game runs on the Flow testnet, chosen for scalability and NFT support. A hybrid design keeps game state synchronized between Unity and the blockchain—cross-verifying leaderboards to ensure fairness, transparency, and smooth gameplay.

