Play the live demo
All four games running on Base Sepolia. Connect a wallet and play.
The five moves
Everything confidential is one call onConfidentialDeck.
A whole game in about 15 lines
Inherit the kit and write only your rules. This is a simplified sketch; the realWar.sol adds matchmaking and settlement.
What is in the box
The ConfidentialDeck kit
The five confidential moves, the fees, and the rules that break new projects.
Worked examples
Four full games: War, Blackjack, Raffle, and Mafia.
Run it
Install, test against a local node, deploy, and wire the frontend.
Source
The full Hardhat project plus a Next.js demo dApp that plays all four games.
AGENTS.md explaining the kit, the per-game privacy
model, and the frontend, so it can start fast.
More Inco games
More full game apps, built on Inco but not on the deck template. Read them for different confidential patterns.Incasino
A six-game casino powered by
e.rand(). The cleanest look at the
play-then-settle pattern.Mines
Minesweeper with an encrypted board. Bombs placed by one shuffle, O(1) per
click, attested cashout.
Hangman
The secret word stays encrypted on-chain. Every guess is resolved with core
encrypted operations.