
Citrea Ninja
Citrea Ninja: slice Citrea tokens, dodge bombs, earn NFTs, verifiable wagers & scores.
Demo
About
This is an on-chain, arcade-style slice game inspired by Fruit Ninja where players slice Citrea tokens while avoiding bombs and trap hearts. Slice a token to earn in-game points; miss a token or slice a bomb to lose a life. Every session’s final score is recorded on-chain, achievements mint as NFTs, and difficulty scales level-by-level with randomized token spawns. Players can compete solo, or enter head-to-head and group matches with optional wagers; the prize pool is paid out on-chain with a small fee taken only when prize money is withdrawn. A polished UI/UX ensures fluid slicing, tactile feedback, and clear on-chain transparency. Core gameplay and features: 1) Token slicing and hazards: In-game points when sliced. Missing a token costs a heart. Slicing a bomb also costs a heart. Run out of hearts and the round ends. 2) Level-wise difficulty: Progressive “K-level” challenges ramp spawn speed, object mix, fake-outs, and multi-slice requirements. 3) On-chain score recording: End-of-round scores are finalized on-chain with a verification step to prevent cheating. 4) NFT achievements: Milestones (streaks, perfect rounds, wager wins, seasonal ranks) mint as NFTs with dynamic metadata. 5) Multiplayer modes: Quick duels, lobbies, and tournaments. Optional wagers use on-chain escrow; free play has no fees. 6) Transparent fees: A small platform fee applies only on prize withdrawals; free mode and non-monetary sessions incur no fee. 7) Leaderboards: leaderboards, rotating modifiers, and time-limited challenges to keep play fresh.
How it's made
A) Chain and core architecture 1) Network: Built on the Citrea EVM rollup for low-latency, low-fee transactions with Bitcoin-settled security. Contracts handle score finalization, rewards, achievements, wager escrow, and payouts. 2) Trust model: Only final results are written on-chain to keep costs low while preserving fairness. B) Smart contracts 1) GameRegistry: Creates round IDs, stores the randomness seed reference, and records final scores. Emits rich events for indexing. Uses minimal storage to reduce gas.