KŌBRA

A real-time multiplayer snake game with instant gameplay and on-chain USDC staking.

Repo
KŌBRA banner

About

KŌBRA is a competitive multiplayer snake game where players stake real USDC and battle for 2 minutes in a provably fair arena. Every move is cryptographically signed through Yellow Network's state channels — solving the fundamental problem that has trapped Web3 gaming in an impossible trade-off.

THE PROBLEM

Competitive Web3 gaming is currently broken, forcing developers to choose between two failing options:

Option 1: Fully On-Chain Games

- Every player action becomes a blockchain transaction - 2-5 second lag per move (waiting for block confirmations) - $0.50+ gas per action - A 2-minute game with 340 moves = $170+ in gas fees - Result: UNPLAYABLE. No one will pay $170 to play snake.

Option 2: Fully Off-Chain Games (Traditional Servers) - Fast and responsive (instant moves) - Zero gas costs - BUT: Scores are unverifiable server claims - Players must trust the operator - No cryptographic proof of fairness - Result: NOT WEB3. Just a centralized database with a wallet login.

The myth is that "real Web3 games should be fully on-chain." The reality? Putting every action on-chain makes games financially and technically unplayable. Judges don't want full on-chain execution — they want solutions that make Web3 gaming actually viable.

THE SOLUTION: Yellow State Channels

KŌBRA uses Yellow Network's state channels to unlock Option 3: Web2 speed + Web3 security.

How it works:

1. Players connect wallet and select stake tier ($1, $5, or $25 USDC) 2. Matchmaking pairs opponents and opens a Yellow state channel via ClearNode 3. During gameplay, every action generates a signed state update at 10 ticks/second 4. All 200+ game states happen OFF-CHAIN with zero gas, but remain cryptographically verifiable 5. When time expires, the final state is signed with FINALIZE intent, producing a settlement proof 6. Winner settles ON-CHAIN once, calling the escrow contract which verifies the proof and releases funds

The Result:

- Instant gameplay (no blockchain lag) - Zero gas during the match ($0.00 vs $170+) - Cryptographic proof of every score (ClearNode signatures) - Trustless settlement (smart contract verification) - 99.7% gas reduction while maintaining full Web3 security

WHY THIS MATTERS

Without Yellow, KŌBRA would be just another centralized game server where you have to trust us. Yellow state channels make every game action cryptographically provable:

  • Every move is signed by both players (can't fake)
  • Every score is backed by a ClearNode proof (can't manipulate)
  • Every payout is verified by smart contract (can't steal)

The leaderboard isn't a database — it's a collection of on-chain settlement proofs. Your rank is mathematically verifiable, not just claimed.

A live UI overlay quantifies Yellow's impact: real-time state counter, gas oracle showing on-chain cost ($20+) vs actual cost ($0.00), and ClearNode connection status. This makes the value proposition visible during every match.

BUSINESS MODEL

Revenue: 2% platform fee on winner's share (e.g., $5 stake match = $10 pot → winner gets $7.84, loser gets $2.00, platform gets $0.16)

Retention: Proof-of-Skill leaderboard where every score links to its on-chain settlement proof — players build verifiable reputation that can't be faked

Expansion: The Yellow state channel architecture is game-agnostic. Same infrastructure works for chess, poker, racing, any skill-based competition. Multi-game competitive platform with a unified trust layer.

CORE INNOVATION

KŌBRA proves that real-time competitive gaming CAN work on Web3 by embracing off-chain execution with cryptographic proofs — the exact use case state channels were designed for. This isn't a compromise; it's the correct architecture for high-frequency interactions.

Deployed on Base Sepolia. Live demo available. Code open-sourced.

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?

DormantLast push 299 days ago

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.

Jessmac

Onchain Snakes & Ladders with provable dice rolls, multiplayer sync, and MON rewards