About
## Wave 2 submission
🎨 Duel Draw: Wave Update
We’ve made major progress transforming Duel Draw into a fully on-chain, real-time competitive drawing game powered by Linera microchains and AI scoring through an oracle system.
✅ Fully On-Chain 1v1 Drawing Battles
A complete challenge system is implemented—players can initiate, accept, or reject duels. Each match spawns a temporary 2-owner game microchain, giving isolated execution and ultra-low latency.
✅ Real-Time Drawing Sync
A stroke-based engine enables live multiplayer drawing with:
<500ms stroke broadcasting
Sequence ordering Out-of-order buffering Update rate limiting All handled via cross-chain messaging.
✅ AI Judging via Oracle (Google Gemini)
We built a full oracle flow:
Game Chain → Oracle Chain → Oracle Client → Gemini → back on-chain The AI scores drawings on Creativity, Prompt Adherence, and Artistic Quality, returning structured results the game chain uses to determine winners.
✅ Leaderboard + Player Stats
A dedicated public leaderboard chain ranks players using win rate, total games, and average score. Each player chain tracks tokens, challenges, games, and NFTs.
✅ Token Economy & Rewards
Automatic on-chain rewards: 🥇 Winner: 100 tokens 🥈 Loser: 25 tokens 🤝 Tie: 50 each 🏳️ Forfeit win: 75
✅ NFT Minting
Players can mint their final drawings as NFTs with metadata (prompt, opponent, scores). Minting costs 10 tokens.
🧩 UI Attempt
We also experimented with a frontend/UI, and have attached screenshots in the demo. It works but is not fully polished yet, so we kept the focus on completing the on-chain architecture & oracle pipeline first.
⚙️ Current Gameplay Flow
1️⃣ Challenge another player 2️⃣ Game chain automatically created on acceptance 3️⃣ 90-second real-time drawing battle 4️⃣ AI judging through the oracle system 5️⃣ Winner decided + tokens awarded 6️⃣ Leaderboard updated, game chain closes
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





