
Jessmac
Onchain Snakes & Ladders with provable dice rolls, multiplayer sync, and MON rewards
Demo
About
Snakes & Ladders Onchain is a multiplayer web3 board game built on the Monad Testnet, combining the fun of a childhood classic with the transparency and fairness of blockchain. Players connect their wallets, join or create game rooms via Multisynq, and play in real-time with on-chain dice rolls that ensure every move is provably fair. Each dice roll triggers a transaction using MON, and the smart contract validates outcomes directly on the network. If the blockchain transaction fails or gas runs out, the game seamlessly falls back to an off-chain simulation — keeping gameplay uninterrupted while maintaining transparency. The project demonstrates how traditional games can integrate provable randomness, decentralized state synchronization, and crypto microtransactions in a fun, user-friendly way.
How it's made
This project was built using a combination of Web3, Multisynq, and Monad smart contracts. Frontend: HTML, CSS, and JavaScript power the interactive board and UI, hosted at monad.jessmac.me . Wallet integration: MetaMask and Ethers.js handle wallet connection, MON balance display, and transaction execution. Smart contract: A Solidity contract deployed on Monad Testnet manages the dice-roll randomness, player turns, and rewards. Multisynq: Enables multiplayer synchronization, room management, and state updates across connected players. Backend / Sync logic: Uses Multisynq’s real-time messaging layer to coordinate moves instantly without central servers. Hacky bits: Gasless “demo mode” fallback for offline play to avoid transaction delays. Hybrid randomness — on-chain provable rolls with off-chain fallback when needed. Dynamic UI updates based on live blockchain state. By merging on-chain fairness with off-chain speed, this project proves that web3 games can be fun, fair, and frictionless.