Liar games

Minority Rule Game on Flow blockchain - vote strategically, survive elimination, win the prize pool!

Repo
Liar games banner

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.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

The Shill Game

The Shill Game: an AI + blockchain world where characters evolve through talk, tension, and strategy

The Game Show

The Game Show is an AI-powered Discord bot that organizes fun contests like joke-offs, with entries and prize payouts secured on Base via smart contracts. Contestants submit entries, pay fees, and AI judges pick winners—all automated, fair, and transparent.

ecretS gentA

A game of spies, secrets, and sabotage—Ecrets Genta blends AI-driven espionage with blockchain strategy, where deception is currency and intelligence is power. Can you outwit the unseen?