GRIDZONE BOMBERMAN
A Bomberman-style battle royale where every elimination settles instantly in stablecoin on Monad.
DEMO VIDEO
OVERVIEW
GridZone is a 16-player Bomberman battle royale played on a 20x20 grid with a shrinking red zone, where each death triggers a real stablecoin transfer on Monad Testnet. The stack is split three ways: a Foundry project holding the arena and mock USDC contracts, an authoritative Node simulation with a sharded relayer pool and Socket.IO transport, and a Vite + Phaser client covering the lobby and in-match HUD. Matches wait briefly for human players and then backfill the remaining seats with bots that each pay a real on-chain entry fee.
PROBLEM
Skill-based match rewards are normally settled off-chain in a ledger only the operator can see. Players have to trust that payouts were calculated correctly and that the prize pool is actually solvent.
SOLUTION
An arena contract that holds every seat as an on-chain bounty and moves value on each elimination, paired with an authoritative server that relays match events. Payout arithmetic lives in the contract, and a solvency invariant ties the contract balance to the sum of outstanding bounties, jackpot, and unclaimed treasury.
CORE FEATURES
- 16-player matches on a 20x20 grid with a shrinking red zone
- Per-elimination stablecoin settlement on Monad Testnet
- Wallet connect that adds the Monad Testnet network for the player
- Open faucet mock USDC so anyone can fund a test seat
- Bot backfill where each bot pays a real on-chain entry fee
- Merkle-committed match audit log
- Live status tooling for balances, gas price, and solvency
TECHNICAL CHALLENGES
- Splitting value correctly across PvP kills, self-kills, red-zone deaths, and match end while keeping the contract solvent
- Sustaining transaction throughput during a match via a pool of topped-up relayer wallets
- Proving the payout model on-chain with a smoke test that plays a full match end to end
RESULTS
- Deployed and verified on Monad Testnet (chain 10143)
- 42 Foundry tests covering unit, fuzz, and invariant cases
- Smoke test on testnet with 1 human and 15 bots passed every assertion: all 16 seats paid on chain, jackpot fully distributed, no bounty stranded, and the solvency invariant intact
ROLE & CONTRIBUTION
Smart contract design and Foundry test suite
Authoritative game simulation and settlement server
Sharded relayer pool for transaction throughput
Phaser client, lobby, and wallet integration