About
Minority Rule Game - A Blockchain Implementation of the Psychological Strategy Game from Liar Game
Minority Rule Game is a fully decentralized psychological strategy game inspired by the Japanese drama series "Liar Game", built on the Flow blockchain using Cadence smart contracts. This game brings the intense psychological warfare and strategic voting mechanics from the TV series into the Web3 space.
Core Game Mechanics:
Players stake FLOW tokens to enter the game and participate in elimination rounds where they must vote on binary (YES/NO) questions. The twist: those who vote with the minority survive while the majority gets eliminated. This creates a fascinating game theory dynamic where players must predict and counter-predict group behavior. The game continues until fewer than 3 players remain, with winners splitting the entire prize pool.
Key Features:
- Fully On-Chain Game Logic: All game mechanics handled by smart contracts ensuring trustless, transparent gameplay - Strategic Voting System: Private vote submission with simultaneous reveal after deadline to prevent manipulation - Player Reputation System: Complete voting history and statistics tracked on-chain, allowing players to analyze opponents' patterns - Dynamic Prize Pool: Entry fees accumulate into winner-takes-all prize pool (or split among final survivors) - Edge Case Handling: Sophisticated logic for ties, non-voters, and unanimous votes
Technical Implementation:
- Smart Contracts: Written in Cadence with comprehensive game state management, secure voting mechanisms, and automated round processing - Frontend: React/Next.js application with Flow Client Library (FCL) integration for seamless wallet connections - Testing: 9 comprehensive test scenarios covering all game paths, edge cases, and security considerations - Security: Implements commit-reveal pattern for voting, prevents double voting, and ensures fair elimination
Game Theory Elements:
The game creates multiple layers of strategic depth: - Level 1: Random voting (50% survival chance) - Level 2: Vote opposite of public consensus - Level 3: Analyze player histories and tendencies - Level 4: Reputation manipulation and bluffing - Level 5: Coalition forming and betrayal
Why Blockchain? Blockchain ensures complete transparency and fairness - all votes are cryptographically secured and revealed simultaneously, preventing any manipulation. The immutable voting history creates a permanent reputation system that adds long-term strategic considerations. Smart contracts guarantee automatic and fair prize distribution.
Current Status:
- Fully functional smart contracts deployed on Flow emulator - Working frontend with game creation, joining, voting, and prize claiming - Complete test suite with 100% scenario coverage - Ready for testnet deployment
This project demonstrates how classic game theory concepts can be enhanced through blockchain technology, creating engaging experiences that are both entertaining and intellectually challenging.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






