Multipoly

Gamify learning with Multipoly - master blockchain, NFTs, and AI strategy while you play.

Multipoly

Created At

ETHGlobal New Delhi

Project Description

Multipoly is a web3 multiplayer board game inspired by Monopoly. Players compete to build asset empires by trading NFT landmarks, collecting themed tokens, and making strategic investments across various iconic city locations. The game features four asset groups -> Heritage, Business, Education, and Entertainment, each with unique token economics and yield profiles.

Gameplay is dynamic and interactive: dice rolls use VRF for provable onchain randomness, and asset transactions are managed by smart contracts on Flow and Ethereum. AI agents enhance the experience with an AI tutor that analyzes game state and offers strategic advice, while an AI chatbot provides real-time help and answers gameplay questions. The game also includes DAO voting, airdrops, and special event cards for added complexity.

Multipoly’s frontend is built with Next.js and Tailwind CSS, supporting real-time multiplayer via WebRTC for chat and gameplay sync. The backend uses Python Flask for AI agent APIs. The project is designed for extensibility, transparency, and fun, blending Web3, AI, and classic board game mechanics for a next-generation gaming experience.

How it's Made

Multipoly is built as a full-stack Web3 game, combining blockchain, AI, and real-time multiplayer tech:

Frontend: Built with Next.js 14 and Tailwind CSS for a fast, modern UI. WebRTC powers real-time chat and gameplay sync, letting players interact live.

Backend & AI Agents: Python Flask serves as the API layer for AI agents. The AI Tutor uses MeTTa knowledge graphs to analyze game state and offer strategic advice, while the AI Chatbot (ASI:One models) answers player questions and guides gameplay.

Smart Contracts: Game logic and asset management are handled by Solidity smart contracts deployed on Flow EVM (for yield tokens, decentralized room management). We additionally use Cadence based contracts for creating fungible token for staking on the Cadence VM along with contract for Flow Schedular. Hardhat is used for compiling, testing, and deploying Ethereum contracts.

Randomness: VRF ensures fair dice rolls, making gameplay provably random and tamper-proof.

Partner Tech: ASI Alliance powers the AI agents, Flow Blockchain manages game state and tokens, and provides secure randomness. ENS is used for decentralized player identity.

Integration: The frontend communicates with the backend via REST APIs for AI advice and chat. Smart contract events are listened to for game state updates. Token swaps, asset purchases, and rent calculations are all on-chain.

Hacky Bits: To enable fast prototyping, the team used Flask for quick agent deployment and Next.js for hot-reloading UI. Real-time sync uses WebRTC data channels, and the game board logic is modular for easy expansion. VRF integration required custom adapters to bridge randomness from Chainlink to both Flow and Ethereum contracts.

Overall, Multipoly leverages Web3, AI, and real-time tech to create a seamless, interactive board game experience.

background image mobile

Join the mailing list

Get the latest news and updates