Blockchain-powered Mafia party game with bots, World ID, and fair voting—onchain!
This project is a Mafia Party Mini App built for the World App ecosystem, combining onchain gameplay, World ID zero-knowledge authentication, and bot-filled lobbies for fast, verified party games. Up to 8 players (or bots) join a lobby, with random roles: 3 Mafia (Godfather, allies) and 5 Villagers (Detective, Doctor, Insomniac, and plain villagers). Gameplay progresses in classic phases (night, day) with all actions/votes recorded onchain for transparency and auditability. Integrated Farcaster-inspired UI design uses electric blue, vivid purple, and bold accents for modern, playful web3 aesthetics. The project leverages Next.js 15, Foundry contracts, MiniKit, Supabase, and viem for World Chain. Bot logic mimics real players—random (but plausible) night moves and day voting. No personal data ever stored; privacy assured by ZK-proofs.

