Skip to content
@Zegon-Labs

Zegon

ZEGON is a pixel art duel against a blindfolded AI that reads your patterns, not your move, and lets you verify on chain that every round was fair.
ZEGON — Outdraw the Blind



website play pitch deck github stars built on 0G

👋 Welcome to Zegon Labs

We're building provably fair AI gaming — where the opponent can't cheat, and you can prove it.

Most AI opponents run on opaque servers. When you lose, you wonder if the house rigged the read or rewrote its move after seeing yours — and you can never know. ZEGON is our answer: a pixel-art gunslinger duel against a blindfolded AI that reads your patterns but cannot see your current move. Every round leaves on-chain proof that ZEGON committed before you acted.

Built on 0G (Compute + Chain + Storage) for the Zero Cup 2026 hackathon. The repositories below are the open-source layers — playable today, forkable tomorrow.

⭐️ Our Projects

Project Description
🤠 ZEGON DApp Turn-based duel vs a blindfolded AI with sealed inference on 0G Compute. Commit-reveal on Galileo, read-streak / DEADEYE, items, tutorial, daily pool, tournament phases, style PvP challenges, optional match stakes, duel audit, global leaderboard, gunslinger NFT, VERIFY flow. Play free — wallet only at the end for ranking.
🌐 ZEGON Landing Official marketing site — provably fair AI gaming, commit flow preview, 0G stack breakdown, FAQ, and launch overlay into the dapp.

📦 Ecosystem

Repository / Package Purpose Language
🎮 Zegon-DApp Monorepo — Phaser 3 client, Node API, Solidity contracts, full 0G integration
🌐 Zegon-Landing Vite + React landing page with dark neo-western glitch design system
packages/game-core Pure duel logic — combat, read streak, DEADEYE, items, archetypes, scoring
packages/game-client Phaser 3 + Vite client (1280×720, sprite HUD, tutorial, i18n EN/ES)
packages/game-server Node API — 0G Compute inference, chain commit-reveal, Storage uploads, challenges, match pool, audit index, leaderboard
contracts/ ZegonDuel.sol, ZegonDailyPool.sol, ZegonMatchPool.sol, ZegonGunslinger.sol on Galileo

🏗️ How It Fits Together

                    ZEGON Landing (marketing)
                              │
                         launches into
                              ▼
                    ZEGON DApp (Phaser client)
                              │
              ┌───────────────┼───────────────┐
              │               │               │
         reads history    commits hash    uploads proof
              ▼               ▼               ▼
       ┌────────────┐  ┌────────────┐  ┌────────────┐
       │ 0G Compute │  │  0G Chain  │  │ 0G Storage │
       │            │  │  (Galileo) │  │            │
       │ sealed TEE │  │ commit-    │  │ duel log + │
       │ inference  │  │ reveal     │  │ attestation│
       └────────────┘  └────────────┘  └────────────┘
              │               │               │
              └───────────────┴───────────────┘
                              │
                    VERIFY after every duel
                    (session token + on-chain fallback)

Per-round flow: ZEGON receives only your action history → sealed inference on 0G Compute → commitMove(hash) on-chain before your buttons unlock → you choose FIRE, DODGE, or an item → revealMove → resolve damage (5 lives) → read streak updates. After the duel: recordDuel + blob upload to 0G Storage → VERIFY ON-CHAIN at /api/duel/verify/:duelId.

🎯 What Makes ZEGON Different

Typical AI game ZEGON
When you lose Was it rigged? You can check
AI move timing Hidden server Locked first
Can the house cheat? You'd never know Proof exposes it
Does the duel feel real? Often hollow Stakes land

Tagline: "It can't see you. It reads you. Outdraw the blind."

The wedge: provably fair today covers RNG (dice, casino). ZEGON applies it to AI decisions with hidden information — sealed inference proves the model only saw your history; commit-reveal proves it locked in before you moved.

⚔️ Core Gameplay (current build)

  • Actions: FIRE, DODGE, and one-click items — Smoke (break read), Plate (block shot), Mirror (reflect).
  • Read streak: 2/2 ticks in the header HUD → DEADEYE (lethal read if ZEGON predicted you).
  • 5 lives shown as hearts/skulls — no opaque HP numbers.
  • Tutorial: 9 lessons + 6 guided practice rounds before your first real duel.
  • Modes: Standard (ZEGON archetypes), Daily duel with on-chain stake pool, and style PvP challenges (share a link — ZEGON mimics the challenger's rhythm; win/loss resolve).
  • Tournament: Global Ranking tracks three UTC phases (Jul 9–19) with live countdown.
  • Audit: Round-by-round duel logs from 0G Storage (Profile, Leaderboard, or verify.html?root=).
  • Match stakes (optional): Symmetric OG testnet pool — free play always available.
  • Wallet optional: play free; connect at the end to submit your best score to the global leaderboard.
  • i18n: English and Spanish, including in-game settings mid-duel.

🔗 On-Chain (Galileo testnet)

ZegonDuel 0x2Fc47e82c30B9d1B9193fa1978E96A92d7b760b0
ZegonDailyPool 0xF0011177988a323d2dFE4CFD29D2dFC2199F44ea
ZegonMatchPool 0xA1085dfb4F440739B754DE6e911D0AedD56cFb4d
ZegonGunslinger 0x23D671FaEd3adA290601990D45A959F1b60BFdb4
Chain ID 16602
RPC https://evmrpc-testnet.0g.ai
Explorer chainscan-galileo.0g.ai
Faucet faucet.0g.ai

Backend sponsors gas on testnet so anyone can play without a wallet.

🤝 Contributing

We welcome PRs, bug reports, and gameplay feedback across every public repository.

  • Game logic — extend packages/game-core (combat rules, items, modes).
  • 0G integration — improve Compute prompts, chain flows, or Storage persistence in game-server.
  • Visual / UX — Phaser scenes, HUD, tutorial, or landing sections in their respective repos.
  • Docspitch deck (Google Slides) and source in ZERO_CUP_PITCH.md inside Zegon-DApp.

🪪 License

Per-repository. See individual repositories for license details.


Tip

Play now: Launch ZEGON → complete the tutorial → duel the blind AI → hit VERIFY ON-CHAIN after the fight. Fair dice already exist. ZEGON proves the mind is fair.

Popular repositories Loading

  1. .github .github Public

  2. Zegon-DApp Zegon-DApp Public

    ZEGON dapp — turn-based duel vs a blindfolded AI with on-chain proof (0G Zero Cup)

    TypeScript

  3. Zegon-Landing Zegon-Landing Public

    ZEGON landing page — Zero Cup hackathon

    TypeScript

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…