oneie
Version:
Build apps, websites, and AI agents in English. Zero-interaction setup for AI agents (Claude Code, Cursor, Windsurf). Download to your computer, run in the cloud, deploy to the edge. Open source and free forever.
1,655 lines • 85.5 kB
Markdown
---
title: Ontology - The Infinite Game (Education MMOLRPG)
dimension: knowledge
category: ontology-education-game.md
tags: 6-dimensions, ai, education, mmolrpg, stake-to-learn, tokenization, sui-move, gamification
related_dimensions: connections, events, groups, people, things
scope: domain
created: 2025-12-05
updated: 2025-12-05
version: 1.0.0x
ai_context: |
This document extends the education ontology with MMOLRPG game mechanics.
Education is modeled as a high-stakes, AI-driven economy.
Core loop: Stake → Play → Learn → Earn → Share.
For AI agents: Use this to build gamified learning with blockchain integration.
---
# The Infinite Game - Education MMOLRPG Ontology
**Version:** 1.0.0 (Stake → Play → Learn → Earn → Share)
**Status:** Active
**Extends:** [ontology-education.md](./ontology-education.md)
**Design Principle:** Education as MMOLRPG—where learning isn't a task, it's a high-stakes, AI-driven economy built on the 6-dimension ontology.
---
## 🎮 The Game at a Glance
```
╔══════════════════════════════════════════════════════════════════════════════╗
║ ║
║ 🎯 THE INFINITE GAME: Where Learning = Playing = Earning ║
║ ║
║ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ║
║ │ STAKE │───▶│ PLAY │───▶│ LEARN │───▶│ EARN │───▶│ SHARE │ ║
║ │ 💰 │ │ 🎮 │ │ 📚 │ │ 🏆 │ │ 🌐 │ ║
║ │ Commit │ │ Quest │ │ Master │ │ Rewards │ │ Recruit │ ║
║ │ tokens │ │ battle │ │ skills │ │ yield │ │ grow │ ║
║ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └────┬────┘ ║
║ ▲ │ ║
║ └──────────────────────────────────────────────────────────┘ ║
║ ∞ INFINITE LOOP ∞ ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
```
---
## 🏛️ The 6-Dimension Reality Model (Game Physics)
**Everything in The Infinite Game maps to these 6 dimensions:**
```
┌──────────────────────────────────────────────────────────────────────────────┐
│ 1. GROUPS (Factions) │
│ 🏰 Guilds, Factions, Raid Parties, Squads, Arenas │
│ "Where heroes gather" - from study circles to DAO schools │
└──────────────────────────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────────────────────────┐
│ 2. PEOPLE (Heroes) │
│ ⚔️ Heroes, Quest Givers, Dungeon Masters, Scholars, Patrons │
│ "Who plays the game" - students, instructors, AI agents │
└──────────────────────────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────────────────────────┐
│ 3. THINGS (Loot) │
│ 💎 Dungeons, Quests, Artifacts, Skill Gems, LEARN Tokens, Stake Contracts │
│ "What exists in the world" - courses, credentials, tokens, assets │
└──────────────────────────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────────────────────────┐
│ 4. CONNECTIONS (Skill Trees) │
│ 🌳 Quest Progress, Guild Membership, Scholarships, PvP Challenges │
│ "How things relate" - enrollments, mentorships, team formations │
└──────────────────────────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────────────────────────┐
│ 5. EVENTS (Quest Log) │
│ 📜 Quest Completed, Boss Defeated, Artifact Forged, Tokens Earned │
│ "What happened" - complete audit trail of every action │
└──────────────────────────────────────────────────────────────────────────────┘
↓
┌──────────────────────────────────────────────────────────────────────────────┐
│ 6. KNOWLEDGE (The Lore) │
│ 📖 Lore Chunks, Hero Profiles, Wallet Insights, Battle Patterns │
│ "What AI understands" - embeddings powering the Dungeon Master │
└──────────────────────────────────────────────────────────────────────────────┘
```
---
## 🔧 The Universal Interface (How It All Connects)
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ LAYER 1: THE 6-DIMENSION GAME ENGINE │
│ (Reality as DSL - Never Changes) │
├─────────────────────────────────────────────────────────────────────────────┤
│ groups → Factions, Guilds, Raid Parties (where heroes gather) │
│ people → Heroes, Quest Givers, Dungeon Masters (who plays) │
│ things → Dungeons, Quests, Artifacts, Tokens (what exists) │
│ connections → Skill Trees, Memberships, Scholarships (how they relate) │
│ events → Quest Log, Boss Battles, Token Flows (what happened) │
│ knowledge → The Lore, AI Memory, RAG (what AI understands) │
│ │
│ This layer models REALITY. It never changes. │
└──────────────────────────────┬──────────────────────────────────────────────┘
│
↓ Technology swaps, game physics stays the same
┌─────────────────────────────────────────────────────────────────────────────┐
│ LAYER 2: THE THREE-TIER ARCHITECTURE │
│ (Technology Adapters - Swap Freely) │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
│ │ EDGE (Brain) │ │ CONVEX (RAM) │ │ SUI (Storage) │ │
│ │ 🧠 AI Agents │ │ ⚡ Real-time │ │ 💾 Truth Layer │ │
│ │ │ │ │ │ │ │
│ │ • Dungeon Master│ │ • Game state │ │ • Stake objects │ │
│ │ • Boss battles │ │ • Leaderboards │ │ • SBT artifacts │ │
│ │ • Quiz gen │ │ • Live chat │ │ • LEARN tokens │ │
│ │ • Verification │ │ • Progress sync │ │ • Guild treasury│ │
│ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘ │
│ │ │ │ │
│ └─────────────────────┴─────────────────────┘ │
│ Unified by Ontology │
│ │
│ Technology can be swapped. The 6 dimensions stay the same. │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 💰 The Economics: Stake-to-Play-to-Learn-to-Earn
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ THE TOKEN FLOW │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ Hero Stakes Dungeon Hero Wins │
│ ┌───────┐ ┌───────────┐ ┌───────┐ │
│ │ $50 │ ────────────────▶ │ STAKE │ ───────────────▶│ $60 │ │
│ │ LEARN │ enters │ CONTRACT │ completes │ LEARN │ │
│ └───────┘ dungeon │ (holds │ all quests └───────┘ │
│ │ funds + │ + boss (stake + │
│ │ progress)│ 20% yield) │
│ └─────┬─────┘ │
│ │ │
│ Hero Fails │ (timeout/dropout) │
│ ▼ │
│ ┌───────────┐ │
│ │ GRAVEYARD │ ◀─── 80% of failed stakes │
│ │ POOL │ fund winner yields │
│ └───────────┘ │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ GUILD MODE (5 Heroes) │
│ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ │
│ │ $50 │ │ $50 │ │ $50 │ │ $50 │ │ $50 │ = $250 collective stake │
│ └──┬──┘ └──┬──┘ └──┬──┘ └──┬──┘ └──┬──┘ │
│ └──────┴──────┴──────┴──────┴──────▶ 2x YIELD MULTIPLIER │
│ (All pass = $100 yield total) │
│ (One fails = guild takes hit) │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 🎯 The Vision: From Platform to Metaverse
We're not building "Coursera on Blockchain." We're building **World of Warcraft for Career Growth**.
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ │
│ TRADITIONAL EDUCATION THE INFINITE GAME │
│ ────────────────────── ───────────────────── │
│ │
│ 📚 Passive consumption → 🎮 Active participation │
│ 📄 Static diplomas → 💎 Evolving artifacts (NFTs) │
│ ❌ No skin in the game → 💰 Stake-to-play commitment │
│ 👤 Solo learning → ⚔️ Guilds & raid parties │
│ 🤖 Generic AI tutors → 🧙 Adversarial AI bosses │
│ 📊 Hidden transcripts → 🌐 Wallet = portable resume │
│ 💸 Platform keeps fees → 🏆 Winners earn from losers │
│ │
│ "Complete the course" → "DEFEAT THE DUNGEON" │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
By combining:
- **Sui Move's object model** (everything is an asset)
- **Convex's real-time speed** (the game engine)
- **6-Dimension Ontology** (the physics of reality)
We create a world where your wallet IS your resume, and learning IS playing.
---
## 🔄 The Core Loop (Detailed)
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ │
│ STAKE ──→ PLAY ──→ LEARN ──→ EARN ──→ SHARE │
│ │ │ │
│ └──────────────────────────────────────┘ │
│ (Infinite Loop) │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
STAKE → Buy in with skin in the game (LEARN tokens)
• Solo: $50 stake, 30-day deadline
• Guild: 5 friends, 2x yield multiplier
• Scholarship: Patrons delegate stakes to scholars
PLAY → Navigate quests, battle AI bosses, join guilds
• World Map UI (not boring dashboards)
• AI Dungeon Master runs the world
• PvP Knowledge Duels for token pots
LEARN → Absorb knowledge through gamified challenges
• Unique quizzes generated from Knowledge vectors
• Boss battles = live debates with adversarial AI
• Progress stored in Sui objects (portable)
EARN → Win back stake + yield, collect artifacts
• Beat the boss = stake + 20% yield
• Yield funded by the Graveyard (failed stakes)
• Dynamic NFT artifacts evolve with XP
SHARE → Recruit scholars, flex credentials, build guilds
• Scholarship: "I'll stake for you, we split yield"
• Social flex: Share evolving artifact on Twitter/X
• Guild growth = network effects
```
---
## 🌍 Blended Learning: The Global Classroom
**Learning happens everywhere—online, IRL, and everywhere in between.**
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ THE BLENDED LEARNING UNIVERSE │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ ONLINE │ │ HYBRID │ │ IRL │ │
│ │ 🌐 │ │ 🔄 │ │ 🏢 │ │
│ │ │ │ │ │ │ │
│ │ • AI Tutors │◀────▶│ • Coworking │◀────▶│ • Bootcamps │ │
│ │ • Async │ │ • Meetups │ │ • Retreats │ │
│ │ • Global │ │ • Pop-ups │ │ • Immersion │ │
│ │ • 24/7 │ │ • Flex │ │ • Intensive │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │ │ │ │
│ └───────────────────┴────────────────────┘ │
│ │ │
│ ┌─────────▼─────────┐ │
│ │ UNIFIED PROGRESS │ │
│ │ 📱 One Wallet │ │
│ │ 🎮 One Profile │ │
│ │ 💎 One Skill Tree │ │
│ └───────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 🗺️ The Global Learning Network
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ LEARNING HUBS WORLDWIDE │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ 🌍 EUROPE 🌏 ASIA │
│ ┌──────────────────┐ ┌──────────────────┐ │
│ │ 🇮🇪 Dublin Hub │ │ 🇯🇵 Tokyo Hub │ │
│ │ 🇵🇹 Lisbon Hub │ │ 🇸🇬 Singapore Hub │ │
│ │ 🇪🇸 Barcelona Hub │ │ 🇹🇭 Chiang Mai Hub│ │
│ │ 🇩🇪 Berlin Hub │ │ 🇮🇩 Bali Hub │ │
│ └────────┬─────────┘ └────────┬─────────┘ │
│ │ │ │
│ └───────────┬───────────────┘ │
│ │ │
│ ┌────────▼────────┐ │
│ │ 🌐 THE NETWORK │ │
│ │ Unified by │ │
│ │ Blockchain │ │
│ └────────┬────────┘ │
│ │ │
│ ┌───────────┴───────────────┐ │
│ ┌────────▼─────────┐ ┌────────▼─────────┐ │
│ │ 🌎 AMERICAS │ │ 🌍 AFRICA │ │
│ │ 🇺🇸 Austin Hub │ │ 🇿🇦 Cape Town Hub│ │
│ │ 🇲🇽 Mexico City │ │ 🇰🇪 Nairobi Hub │ │
│ │ 🇧🇷 São Paulo Hub│ │ 🇳🇬 Lagos Hub │ │
│ │ 🇦🇷 Buenos Aires │ │ 🇷🇼 Kigali Hub │ │
│ └──────────────────┘ └──────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 🏢 Physical Learning Spaces (IRL Dungeons)
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ SPACE TYPES │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ 🏠 COWORKING HUBS 🏫 BOOTCAMP CENTERS 🏝️ RETREAT LOCATIONS │
│ ───────────────── ────────────────── ──────────────────── │
│ • Drop-in learning • Intensive programs • Immersive weeks │
│ • Hot-desking + quests • 12-week dungeons • Nature + learning │
│ • Local AI mentors • Live instructors • Digital detox mode │
│ • Networking events • Project-based • Deep work focus │
│ • Flexible hours • Structured cohorts • Community bonds │
│ │
│ 📍 thing: venue 📍 thing: bootcamp 📍 thing: retreat │
│ 🏰 group: hub 🏰 group: cohort 🏰 group: expedition │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ 🎪 POP-UP EXPERIENCES 🤝 MEETUP QUESTS 🎓 UNIVERSITY PARTNERS│
│ ───────────────────── ─────────────── ───────────────────── │
│ • Weekend hackathons • Local study groups • Accredited programs│
│ • Conference side-quests • Weekly guild meets • Campus dungeons │
│ • Festival workshops • Mentor office hours • Research quests │
│ • City takeovers • Peer accountability • Exchange programs │
│ │
│ 📍 thing: popup_event 📍 thing: meetup 📍 thing: institution│
│ 🏰 group: event 🏰 group: study_circle 🏰 group: partner │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 👥 Learning Modes: Self-Driven + Group-Based
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ LEARNING MODE SPECTRUM │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ SOLO SQUAD GUILD │
│ (Self-Driven) (Small Group) (Community) │
│ ──────────── ───────────── ─────────── │
│ │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
│ │ 👤 │ │ 👥👥 │ │ 👥👥👥 │ │
│ │ │ │ 👥👥 │ │ 👥👥👥 │ │
│ │ Hero │ │ Squad │ │ 👥👥👥 │ │
│ └─────────┘ └─────────┘ └─────────┘ │
│ │
│ • Own pace • 3-5 heroes • 10-100+ members │
│ • AI companion • Shared stakes • Elected leaders │
│ • Flexible schedule • Accountability • Treasury/DAO │
│ • Personalized path • Pair programming • Mentorship ladder │
│ • Async quests • Sync sessions • Events & rituals │
│ │
│ 💰 Solo stake 💰 Guild mode (2x) 💰 Treasury staking │
│ 🎯 Personal goals 🎯 Team objectives 🎯 Collective missions │
│ 📈 Individual XP 📈 Shared XP bonus 📈 Guild reputation │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ HYBRID COMBINATIONS │
│ ─────────────────── │
│ │
│ 🎮 RAID PARTY: Temporary team for specific dungeon (disbands after) │
│ 🏆 TOURNAMENT: Guilds compete, top performers earn from pool │
│ 🎓 COHORT: Time-boxed group journey (e.g., "Web3 Winter 2026") │
│ 🌍 EXPEDITION: Travel + learn group (e.g., "Europe Tech Tour") │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 🧑🏫 Multi-Teacher + AI Agent Ecosystem
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ THE TEACHING NETWORK │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ HUMAN TEACHERS AI AGENTS │
│ ────────────── ───────── │
│ │
│ 🧑🏫 Quest Givers (Instructors) 🤖 Dungeon Master (Course AI) │
│ • Create dungeons • Generates unique quizzes │
│ • Design quests • Adapts to hero profile │
│ • Grade boss battles • 24/7 availability │
│ • Host live sessions • Scales infinitely │
│ • Earn royalties • Signs credential TXs │
│ │
│ 👨💼 Mentors (1:1 Guides) 🔮 The Oracle (Knowledge RAG) │
│ • Career guidance • Answers any question │
│ • Portfolio reviews • Sources from The Lore │
│ • Network introductions • Cites specific quests │
│ • Unlock hidden quests • Personalized recommendations │
│ │
│ 👩🔬 Guest Experts (Pop-ins) 🛡️ The Gatekeeper (Access AI) │
│ • Masterclasses • Analyzes wallet history │
│ • AMAs • Unlocks hidden content │
│ • Industry insights • Verifies prerequisites │
│ • Real-world projects • Detects cheating │
│ │
│ 🌍 Local Guides (IRL Hubs) ⚔️ Boss NPCs (Exam AIs) │
│ • In-person support • Adversarial debates │
│ • Local connections • Skill verification │
│ • Cultural context • Must be defeated to pass │
│ • Coworking facilitation • Difficulty scales with level │
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ REVENUE FLOW: │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Quest Giver creates dungeon → Heroes pay stakes → Smart contract │ │
│ │ routes: 70% to Graveyard Pool, 20% to Quest Giver, 10% Platform │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 🛫 Learning Journeys: Travel + Learn Programs
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ EXPEDITION TYPES │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ 🌍 NOMAD TRACK 🎓 SEMESTER ABROAD 🏢 CORP RETREAT │
│ ────────────── ────────────────── ───────────── │
│ Duration: Ongoing Duration: 3-6 months Duration: 1-2 weeks│
│ Style: Self-paced Style: Structured Style: Intensive │
│ │
│ • Work from anywhere • University partner • Team building │
│ • Coworking credits • Local immersion • Skill bootcamp │
│ • Local quest unlocks • Language learning • Strategy offsit │
│ • Visa/insurance support • Cultural exchange • Executive ed │
│ │
│ 💰 Monthly subscription 💰 Semester fee 💰 Company pays │
│ 🏆 Nomad Badge NFT 🏆 Exchange Artifact 🏆 Corp Certificate│
│ │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ SAMPLE EXPEDITION: "Web3 Europe Tour" (8 weeks) │
│ ───────────────────────────────────────────────── │
│ │
│ Week 1-2: 🇵🇹 Lisbon │
│ ├── Coworking: Heden Lisbon │
│ ├── Quest: "DeFi Fundamentals" │
│ ├── Local Guide: Maria Santos (Sui Portugal) │
│ └── Meetup: Lisbon Web3 Wednesday │
│ │
│ Week 3-4: 🇪🇸 Barcelona │
│ ├── Coworking: MOB Makers of Barcelona │
│ ├── Quest: "Smart Contract Security" │
│ ├── Local Guide: Carlos Vega (Ethereum BCN) │
│ └── Event: ETH Barcelona Side Quest │
│ │
│ Week 5-6: 🇩🇪 Berlin │
│ ├── Coworking: Factory Berlin │
│ ├── Quest: "Tokenomics Design" │
│ ├── Local Guide: Hannah Mueller (Berlin Blockchain) │
│ └── Hackathon: ETH Berlin Mini │
│ │
│ Week 7-8: 🇮🇪 Dublin │
│ ├── Coworking: Dogpatch Labs │
│ ├── Boss Battle: "Build a DeFi Protocol" │
│ ├── Local Guide: Tony O'Connell (ONE.ie) │
│ └── Graduation: Artifact Minting Ceremony │
│ │
│ 💎 ARTIFACT EARNED: "European Web3 Wanderer" (Legendary SBT) │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## 📊 Blended Learning Ontology Mapping
| Blended Concept | Dimension | Type | Properties |
|-----------------|-----------|------|------------|
| Coworking Space | Things | `venue` | address, capacity, amenities, wifi_speed |
| Learning Hub | Groups | `hub` | city, timezone, local_guides[], partner_spaces[] |
| Expedition | Groups | `expedition` | route[], duration, start_date, capacity |
| Local Guide | People | `local_guide` role | city, languages[], expertise[], availability |
| IRL Quest | Things | `quest` | venue_id, scheduled_at, max_participants |
| Meetup | Things | `meetup` | venue_id, recurring, frequency |
| Check-in | Events | `location_checkin` | venue_id, hero_id, timestamp, geo |
| Travel Leg | Events | `travel_completed` | from_hub, to_hub, distance, transport |
| Local Mentor Session | Events | `mentorship_session` | mentor_id, hero_id, venue_id, duration |
| Expedition Enrollment | Connections | `enrolled_in` | expedition_id, payment_status, visa_status |
| Hub Membership | Connections | `member_of` | hub_id, tier, access_credits |
| Local Guide Assignment | Connections | `guided_by` | guide_id, hero_id, hub_id |
---
## 🎯 Self-Driven Learning Architecture
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ PERSONALIZED LEARNING ENGINE │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌───────────────────┐ │
│ │ HERO PROFILE │ │
│ │ (Knowledge) │ │
│ └─────────┬─────────┘ │
│ │ │
│ ┌─────────────────────────┼─────────────────────────┐ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
│ │ GOALS │ │ SKILLS │ │ CONTEXT │ │
│ │ Engine │ │ Graph │ │ Aware │ │
│ └─────┬─────┘ └─────┬─────┘ └─────┬─────┘ │
│ │ │ │ │
│ │ What do you │ What do you │ Where are you? │
│ │ want to achieve? │ already know? │ What time is it? │
│ │ │ │ Who's nearby? │
│ └───────────────────────┼───────────────────────┘ │
│ │ │
│ ▼ │
│ ┌────────────────────────┐ │
│ │ AI RECOMMENDATION │ │
│ │ ENGINE │ │
│ └────────────┬───────────┘ │
│ │ │
│ ┌───────────────────────┼───────────────────────┐ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
│ │ QUEST │ │ MENTOR │ │ EVENT │ │
│ │ Suggest │ │ Match │ │ Suggest │ │
│ │ │ │ │ │ │ │
│ │ "Try this │ │ "Meet │ │ "Join │ │
│ │ dungeon" │ │ Sarah │ │ tonight's│ │
│ │ │ │ in BCN" │ │ meetup" │ │
│ └───────────┘ └───────────┘ └───────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
SELF-DRIVEN FEATURES:
─────────────────────
• 🎯 Goal Setting: Hero defines career/learning objectives
• 🗺️ Path Planning: AI suggests optimal quest sequence
• 📍 Location Aware: Unlocks local quests when you arrive
• 🤖 AI Companion: Always-on tutor adapts to your pace
• 📊 Progress Tracking: Real-time skill tree visualization
• 🔔 Smart Nudges: Reminders based on your patterns
• 🎲 Serendipity: Random quest suggestions to explore
```
---
## 📈 Blended Learning Metrics
```
┌─────────────────────────────────────────────────────────────────────────────┐
│ PLATFORM METRICS DASHBOARD │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ GLOBAL REACH LEARNING MODES │
│ ──────────── ────────────── │
│ 🌍 Active Hubs: 47 📱 Online Only: 45% │
│ 🏢 Partner Spaces: 230+ 🔄 Hybrid: 35% │
│ 👥 Local Guides: 180 🏢 IRL Only: 20% │
│ 🛫 Active Expeditions: 12 │
│ │
│ ENGAGEMENT COMPLETION RATES │
│ ────────── ──────────────── │
│ 👤 Solo Learners: 12,400 👤 Solo: 42% │
│ 👥 Squad Members: 3,200 👥 Squad: 78% │
│ 🏰 Guild Members: 8,900 🏰 Guild: 85% │
│ 🛫 Expedition Heroes: 450 🛫 Expedition: 94% │
│ │
│ TOKEN ECONOMICS IRL IMPACT │
│ ────────────── ────────── │
│ 💰 Total Staked: $2.4M 📍 Check-ins/month: 45,000 │
│ 🏆 Yield Distributed: $890K 🤝 Mentorship hours: 12,000 │
│ ☠️ Graveyard Pool: $1.2M 🎪 Events hosted: 340 │
│ 📈 Avg ROI (completers): +18% 🌍 Countries active: 38 │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
```
---
## Vocabulary Translation
| Traditional Education | The Infinite Game | Ontology Type |
|----------------------|-------------------|---------------|
| Course | **Dungeon** | thing (type: dungeon) |
| Lesson | **Quest** | thing (type: quest) |
| Module | **Zone** | thing (type: zone) |
| Test/Exam | **Boss Battle** | thing (type: boss_battle) |
| Diploma | **Legendary Artifact** | thing (type: artifact, soulbound) |
| Certificate | **Trophy** | thing (type: trophy, soulbound) |
| Micro-credential | **Skill Gem** | thing (type: skill_gem, soulbound) |
| Student | **Hero** | person (role: hero) |
| Instructor | **Quest Giver** | person (role: quest_giver) |
| AI Tutor | **Dungeon Master** | thing (type: ai_agent) |
| Cohort | **Raiding Party** | group (type: raid_party) |
| Study Group | **Guild** | group (type: guild) |
| Institution | **Faction** | group (type: faction) |
| Enrollment | **Quest Acceptance** | connection (type: quest_active) |
| Grade | **Experience Points (XP)** | metadata on connections |
| LEARN Token | **Gold** | thing (type: token) |
---
## Dimension 1: GROUPS (Factions, Guilds & Raids)
**Purpose:** Social containers that create accountability and viral growth.
### Hierarchy
```
The Infinite Game (Platform)
├── Faction (Institution/DAO School)
│ ├── Guild (Permanent Study Group)
│ │ ├── Raid Party (Time-bound Cohort)
│ │ │ └── Squad (5-person team)
```
### Group Types
| Group Type | Description | Game Mechanic |
|------------|-------------|---------------|
| `faction` | Major institution/DAO | Reputation system, exclusive dungeons |
| `guild` | Permanent player alliance | Shared treasury, guild buffs |
| `raid_party` | Time-bound cohort | Coordinated dungeon runs |
| `squad` | 5-person team | Guild Mode staking (all-or-nothing) |
| `arena` | Competition space | PvP Knowledge Duels |
### Pattern for AI
```typescript
// Create a Guild
provider.groups.create({
type: "guild",
parentId: factionId,
name: "The Rust Wizards",
properties: {
treasury_balance: 5000,
member_cap: 50,
guild_level: 12,
buffs: ["xp_bonus_10", "stake_discount_5"],
entry_requirement: "skill_gem:rust_basics"
}
});
// Create a Raid Party (Cohort)
provider.groups.create({
type: "raid_party",
parentId: guildId,
name: "January 2026 Raiders",
properties: {
dungeon_id: "blockchain_fundamentals",
start_date: "2026-01-15",
end_date: "2026-03-15",
squad_stake_multiplier: 2.0,
min_members: 5,
max_members: 25
}
});
```
---
## Dimension 2: PEOPLE (Heroes & NPCs)
**Purpose:** Define players, their roles, and AI-driven characters.
### Role Types
| Role | Type | Permissions | Game Function |
|------|------|-------------|---------------|
| `hero` | Player | Learn, stake, earn | The protagonist |
| `quest_giver` | NPC/Instructor | Create quests, grade | Issues challenges |
| `dungeon_master` | AI Agent | Verify, challenge, reward | Runs the world |
| `merchant` | AI Agent | Trade, exchange | Token economics |
| `gatekeeper` | AI Agent | Unlock content | Access control |
| `scholar` | Player (sponsored) | Learn with delegated stake | Viral growth |
| `patron` | Player (sponsor) | Delegate stakes | Recruitment |
| `guild_master` | Player | Manage guild | Leadership |
### Hero (Student) Profile
```typescript
provider.people.create({
role: "hero",
groupId: guildId,
properties: {
wallet_address: "0x...",
hero_name: "CryptoMage_42",
level: 15,
xp_total: 4500,
class: "Smart Contract Developer",
// Avatar NFT reference
avatar_nft_id: "0x...",
// Current state
active_quests: ["quest_123", "quest_456"],
completed_dungeons: 12,
artifacts_collected: 8,
// Economics
learn_balance: 500,
staked_amount: 150,
lifetime_earnings: 2300
}
});
```
### AI Dungeon Master
```typescript
provider.things.create({
type: "ai_agent",
subtype: "dungeon_master",
groupId: dungeonId,
name: "The Oracle of Solidity",
properties: {
personality: "wise_adversarial",
knowledge_sources: ["dungeon_lore", "skill_tree"],
capabilities: [
"generate_unique_quizzes",
"conduct_boss_battles",
"sign_credential_transactions",
"analyze_wallet_history"
],
difficulty_scaling: true,
// RAG configuration
embedding_model: "text-embedding-3-large",
response_model: "claude-3-opus"
}
});
```
---
## Dimension 3: THINGS (Loot, Artifacts & Assets)
**Purpose:** Everything that can be owned, earned, or traded.
### Thing Types for The Infinite Game
| Thing Type | Transferable | Blockchain | Description |
|------------|--------------|------------|-------------|
| `hero_avatar` | No (Soulbound) | Sui NFT | Player identity |
| `artifact` | No (Soulbound) | Sui SBT | Major credentials |
| `trophy` | No (Soulbound) | Sui SBT | Course completions |
| `skill_gem` | No (Soulbound) | Sui SBT | Micro-credentials |
| `skill_tome` | Yes | Sui NFT | Tradeable course content |
| `token` | Yes | Sui Coin | LEARN currency |
| `dungeon` | No | Convex | Course container |
| `quest` | No | Convex | Lesson/challenge |
| `boss_battle` | No | Convex | Final exam |
| `loot_box` | Yes | Sui NFT | Random rewards |
| `stake_contract` | No | Sui Object | Holds funds + progress |
### Dynamic NFT Artifact (Evolving Credential)
```typescript
// Create an evolving artifact
provider.things.create({
type: "artifact",
groupId: factionId,
name: "The Blockchain Codex",
properties: {
holder_id: heroId,
soulbound: true,
chain: "sui",
// Dynamic properties that evolve
level: 1,
xp_accumulated: 0,
visual_stage: "seedling", // seedling → sapling → tree → golden_tree
mutations: [],
// Metadata for on-chain object
sui_object_id: "0x...",
image_url: "ipfs://base_image",
// Evolution thresholds
evolution_stages: {
sapling: { xp: 100, image: "ipfs://sapling" },
tree: { xp: 500, image: "ipfs://tree" },
golden_tree: { xp: 1000, image: "ipfs://golden_tree" }
}
}
});
```
### Stake Contract (Dynamic Sui Object)
```typescript
// The stake isn't just a number—it's a living object
provider.things.create({
type: "stake_contract",
groupId: dungeonId,
name: "Hero Quest Stake",
properties: {
hero_id: heroId,
dungeon_id: dungeonId,
// Financial state
staked_amount: 50,
potential_yield: 10, // 20% yield
// Progress state (stored IN the same object)
quests_completed: 0,
quests_total: 10,
boss_defeated: false,
// Time constraints
started_at: Date.now(),
deadline: Date.now() + (30 * 24 * 60 * 60 * 1000), // 30 days
// Sui object reference
sui_object_id: "0x...",
status: "active" // active | completed | forfeited
}
});
```
### Dungeon (Course)
```typescript
provider.things.create({
type: "dungeon",
groupId: factionId,
name: "The Cryptographic Caves",
properties: {
description: "Master the dark arts of encryption",
difficulty: "legendary",
// Structure
zones: ["zone_hashing", "zone_signatures", "zone_zk"],
quests_total: 15,
boss_battle_id: "boss_final_cipher",
// Economics
entry_stake_min: 50,
reward_pool: 10000,
yield_rate: 0.20, // 20%
graveyard_contribution: 0.80, // 80% of failed stakes go to reward pool
// Requirements
prerequisites: ["skill_gem:math_basics"],
recommended_level: 10,
// Stats
attempts_total: 1500,
completion_rate: 0.65,
average_duration_days: 21
}
});
```
---
## Dimension 4: CONNECTIONS (Skill Trees & Relationships)
**Purpose:** How everything relates—visualized as skill trees and social graphs.
### Connection Types
| Connection Type | From → To | Metadata | Visualization |
|-----------------|-----------|----------|---------------|
| `quest_active` | hero → quest | progress, started_at | Active path on map |
| `quest_completed` | hero → quest | score, xp_earned | Completed waypoint |
| `dungeon_entered` | hero → dungeon | stake_id, party_id | Dungeon marker |
| `dungeon_cleared` | hero → dungeon | artifact_earned, time | Victory banner |
| `skill_unlocked` | hero → skill_gem | unlocked_at | Skill tree node |
| `guild_member` | hero → guild | rank, joined_at | Guild roster |
| `squad_member` | hero → squad | stake_shared | Team formation |
| `mentored_by` | scholar → patron | stake_delegated, split | Scholarship link |
| `challenged_by` | hero → hero | duel_id, wager | PvP arrow |
| `trained_on` | ai_agent → dungeon | embedding_version | AI knowledge |
### Skill Tree Connection
```typescript
// When a hero unlocks a skill
provider.connections.create({
type: "skill_unlocked",
fromThingId: heroId,
toThingId: skillGemId,
metadata: {
unlocked_at: Date.now(),
unlocked_via: "quest_completion",
quest_id: questId,
xp_cost: 100,
// Skill tree position
tree_branch: "smart_contracts",
tree_depth: 3,
prerequisites_met: ["skill_gem:solidity_basics", "skill_gem:evm_fundamentals"]
}
});
```
### Scholarship Connection (Viral Mechanic)
```typescript
// Patron delegates stake to Scholar
provider.connections.create({
type: "mentored_by",
fromThingId: scholarId,
toThingId: patronId,
metadata: {
dungeon_id: dungeonId,
stake_delegated: 50,
yield_split: { patron: 0.5, scholar: 0.5 },
started_at: Date.now(),
status: "active",
// Contract reference
stake_contract_id: stakeContractId
}
});
```
### Guild Mode Squad Connection
```typescript
// 5 heroes form a squad with shared stakes
provider.connections.create({
type: "squad_member",
fromThingId: heroId,
toThingId: squadId,
metadata: {
stake_contribution: 50,
yield_multiplier: 2.0, // Guild mode doubles yield
squad_members: [hero1, hero2, hero3, hero4, hero5],
collective_stake: 250,
potential_yield: 100, // 40% total (2x the 20%)
// All-or-nothing mechanic
failure_penalty: "collective", // If one fails, all lose bonus
status: "committed"
}
});
```
---
## Dimension 5: EVENTS (The Quest Log)
**Purpose:** Complete audit trail as a narrative quest log.
### Event Types
| Event Type | Actor | Target | Game Moment |
|------------|-------|--------|-------------|
| `hero_created` | system | hero | Character creation |
| `dungeon_entered` | hero | dungeon | "You enter the cave..." |
| `quest_accepted` | hero | quest | New objective |
| `quest_completed` | hero | quest | XP gained |
| `boss_battle_started` | hero | boss | Final challenge begins |
| `boss_defeated` | hero | boss | Victory! |
| `boss_victorious` | boss | hero | Defeat... |
| `artifact_forged` | dungeon_master | artifact | Credential minted |
| `skill_gem_earned` | system | hero | New ability unlocked |
| `tokens_staked` | hero | stake_contract | Skin in the game |
| `tokens_earned` | system | hero | Reward received |
| `tokens_forfeited` | hero | graveyard | Failed quest penalty |
| `guild_joined` | hero | guild | New alliance |
| `duel_initiated` | hero | hero | PvP challenge |
| `duel_resolved` | system | duel | Winner declared |
| `scholarship_granted` | patron | scholar | Delegation active |
| `artifact_evolved` | system | artifact | NFT mutation |
### Quest Completion Event
```typescript
provider.events.log({
type: "quest_completed",
actorId: heroId,
targetId: questId,
groupId: dungeonId,
metadata: {
// Rewards
xp_earned: 150,
tokens_earned: 25,
// Performance
score: 92,
time_taken_minutes: 45,
attempts: 1,
// Progress update
dungeon_progress: "7/15 quests",
// Artifact mutation trigger
artifact_mutation: {
artifact_id: artifactId,
new_xp: 350,
evolved: false
}
}
});
```
### Boss Battle Events
```typescript
// Boss battle started
provider.events.log({
type: "boss_battle_started",
actorId: heroId,
targetId: bossId,
groupId: dungeonId,
metadata: {
battle_mode: "ai_debate",
dungeon_master_id: aiAgentId,
stake_at_risk: 50,
time_limit_minutes: 60
}
});
// Boss defeated (AI concedes)
provider.events.log({
type: "boss_defeated",
actorId: heroId,
targetId: bossId,
groupId: dungeonId,
metadata: {
// AI verification
semantic_accuracy_score: 0.94,
ai_concession_reason: "Hero demonstrated mastery of ZK proofs",
// Rewards
xp_earned: 500,
tokens_earned: 60, // stake return + 20% yield
artifact_earned: artifactId,
// On-chain transaction
credential_tx: {
chain: "sui",
tx_digest: "0x...",
sbt_object_id: "0x...",
signed_by: aiAgentId
}
}
});
```
### Artifact Evolution Event
```typescript
// Dynamic NFT mutates
provider.events.log({
type: "artifact_evolved",
actorId: systemId,
targetId: artifactId,
groupId: heroId,
metadata: {
previous_stage: "sapling",
new_stage: "tree",
xp_threshold_reached: 500,
// On-chain mutation
sui_mutation_tx: "0x...",
new_image_url: "ipfs://tree_image",
// Visual change
visual_diff: {
added: ["golden_leaves", "glowing_runes"],
color_shift: "green → gold"
}
}
});
```
---
## Dimension 6: KNOWLEDGE (The Lore)
**Purpose:** Vector embeddings that power the AI Dungeon Master.
### Knowledge Types
| Knowledge Type | Source | Purpose |
|----------------|--------|---------|
| `lore_chunk` | dungeon/quest | RAG for AI responses |
| `skill_definition` | skill_gem | What the skill means |
| `hero_profile` | hero | Learning style, gaps |
| `battle_pattern` | boss_battle | AI challenge generation |
| `duel_problem` | arena | PvP question bank |
| `wallet_insight` | hero wallet | Unlock hidden quests |
### Lore Chunk (Course Content)
```typescript
provider.knowledge.create({
type: "lore_chunk",
sourceThingId: questId,
content: "Zero-knowledge proofs allow one party to prove knowledge of a secret without revealing the secret itself. The classic example is proving you know the solution to a maze without showing the path.",
embedding: [...], // Vector from embedding model
metadata: {
dungeon_id: dungeonId,
zone: "zone_zk",
difficulty: "intermediate",
concepts: ["zkp", "privacy", "cryptography"],
// For unique quiz generation
question_seeds: [
"Explain why ZKPs are useful for privacy",
"Compare ZKPs to traditional authentication"
]
}
});
```
### Hero Profile (Adaptive Learning)
```typescript
provider.knowledge.create({
type: "hero_profile",
sourceThingId: heroId,
content: "Hero excels at practical coding challenges but struggles with mathematical proofs. Prefers visual explanations. Best learning time: evenings.",
embedding: [...],
metadata: {
strengths: ["solidity", "debugging", "system_design"],
weaknesses: ["formal_proofs", "cryptography_math"],
learning_style: "visual_hands_on",
engagement_pattern: {
best_hours: [18, 19, 20, 21],
session_length_optimal: 45,
break_frequency: "pomodoro"
},
// AI adaptation hints
recommended_approach: "Use diagrams, minimize equations, emphasize code examples"
}
});
```
### Wallet Insight (Gatekeeper AI)
```typescript
provider.knowledge.create({
type: "wallet_insight",
sourceThingId: heroId,
content: "Wallet analysis: Holds 3 Python NFTs, 1 Rust credential, participated in 2 DeFi protocols. Likely experienced developer seeking blockchain specialization.",
embedding: [...],
metadata: {
wallet_address: "0x...",
nfts_held: [
{ collection: "Python Academy", level: "advanced" },
{ collection: "Rust Masters", level: "intermediate" }
],
defi_interactions: ["Uniswap", "Aave"],
// Hidden quest unlocks
unlockable_quests: [
{ quest: "Advanced AI Quest", reason: "Python NFT detected" },
{ quest: "DeFi Deep Dive", reason: "DeFi experience" }
]
}
});
```
---
## Smart Contract Architecture (Sui Move)
### Contract Suite
| Contract | Module | Ontology Mapping |
|----------|--------|------------------|
| Hero Avatar | `game::hero` | thing (type: hero_avatar) |
| Stake Contract | `game::stake` | thing (type: stake_contract) |
| Artifact SBT | `game::artifact` | thing (type: artifact) |
| Skill Gem SBT | `game::skill` | thing (type: skill_gem) |
| LEARN Coin | `game::learn` | thing (type: token) |
| Guild Treasury | `game::guild` | group (type: guild) |
| Arena | `game::arena` | group (type: arena) |
| Graveyard Pool | `game::graveyard` | thing (type: reward_pool) |
### Stake Contract (Sui Move)
```move
module game::stake {
use sui::coin::{Self, Coin};
use sui::balance::{Self, Balance};
use game::learn::LEARN;
/// Dynamic object holding stake AND progress
public struct StakeContract has key {
id: UID,
hero: address,
dungeon_id: ID,
// Financial state
staked: Balance<LEARN>,
potential_yield: u64,
// Progress state (in same object!)
quests_completed: u64,
quests_total: u64,
boss_defeated: bool,
// Time constraints
deadline: u64,
}
/// Stake to enter a dungeon
public fun stake_to_play(
payment: Coin<LEARN>,
dungeon_id: ID,
quests_total: u64,
deadline: u64,
ctx: &mut TxContext
) {
let staked_balance = coin::into_balance(payment);
let potential = balance::value(&staked_balance) / 5; // 20%
let stake = StakeContract {
id: object::new(ctx),
hero: tx_context::sender(ctx),
dungeon_id,
staked: staked_balance,
potential_yield: potential,
quests_completed: 0,
quests_total,
boss_defeated: false,
deadline,
};
transfer::transfer(stake, tx_context::sender(ctx));
}
/// Update progress (called by authorized AI agent)
public fun record_quest_completion(
stake: &mut StakeContract,
_cap: &DungeonMasterCap,
) {
stake.quests_completed = stake.quests_completed + 1;
}
/// Record boss defeat
public fun record_boss_defeat(
stake: &mut StakeContract,
_cap: &DungeonMasterCap,
) {
stake.boss_defeated = true;
}
/// Claim victory (returns stake + yield)
public fun claim_victory(
stake: StakeContract,
graveyard: &mut GraveyardPool,
ctx: &mut TxContext
) {
assert!(stake.boss_defeated, EBossNotDefeated);
let StakeContract { id, hero, staked, potential_yield, .. } = stake;
// Return stake
let stake_coin = coin::from_balance(staked, ctx);
transfer::public_transfer(stake_coin, hero);
// Pay yield from graveyard
let yield_balance = graveyard.withdraw(potential_yield);
let yield_coin = coin::from_balance(yield_balance, ctx);
transfer::public_transfer(yield_coin, hero);
object::delete(id);
}
/// Forfeit (stake goes to graveyard)
public fun forfeit(
stake: StakeContract,
graveyard: &mut GraveyardPool,
clock: &Clock,
) {
assert!(clock::timestamp_ms(clock) > stake.deadline, ENotExpired);
let StakeContract { id, staked, .. } = stake;
graveyard.deposit(staked);
object::delete(id);
}
}
```
### Dynamic Artifact (Evolving NFT)
```move
module game::artifact {
use std::string::String;
use sui::url::{Self, Url};
use sui::event;
/// Soulbound evolving artifact
public struct Artifact has key {
id: UID,
name: String,
holder: address,
// Evolution state
level: u64,
xp: u64,
stage: String, // "seedling" | "sapling" | "tree" | "golden_tree"
image_url: Url,
// Mutation history
mutations: vector<String>,
}
public struct ArtifactEvolved has copy, drop {
artifact_id: ID,
new_stage: String,
new_image: Url,
}
/// Add XP and potentially evolve
public fun add_xp(
artifact: &mut Artifact,
xp_gained: u64,
_cap: &DungeonMasterCap,
) {
artifact.xp = artifact.xp + xp_gained;
// Check evolution thresholds
let new_stage = if (artifact.xp >= 1000) {
string::utf8(b"golden_tree")
} else if (artifact.xp >= 500) {
string::utf8(b"tree")
} else if (artifact.xp >= 100) {
string::utf8(b"sapling")
} else {
artifact.stage // No change
};
if (new_stage != artifact.stage) {
artifact.stage = new_stage;
artifact.level = artifact.level + 1;
artifact.image_url = get_stage_image(new_stage);
vector::push_back(&mut artifact.mutations, new_stage);
event::emit(ArtifactEvolved {
artifact_id: object::id(artifact),
new_stage,
new_image: artifact.image_url,
});
}
}
}
```
### LEARN Token (Fungible Coin)
```move
module game::learn {
use sui::coin::{Self, TreasuryCap};
public struct LEARN has drop {}
fun init(witness: LEARN, ctx: &mut TxContext) {
let (treasury, metadata) = coin::create_currency(
witness,
9, // decimals
b"LEARN", // symbol
b"Learn Token", // name
b"The currency of knowledge in The Infinite Game",
option::none(), // icon url
ctx
);
transfer::public_freeze_object(metadata);
transfer::public_transfer(treasury, tx_context::sender(ctx));
}
public fun mint(
treasury_cap: &mut TreasuryCap<LEARN>,
amount: u64,
recipient: address,
ctx: &mut TxContext
) {
let coin = coin::mint(treasury_cap, amount, ctx);
transfer::public_transfer(coin, recipient);
}
public fun burn(
treasury_cap: &mut TreasuryCap<LEARN>,
coin: coin::Coin<LEARN>
) {
coin::burn(treasury_cap, coin);
}
}
```
---
## Infrastructure: The Three-Layer Stack
```
┌─────────────────────────────────────────────────────────────┐
│ EDGE (The Brain) │
│ AI Inference • Dungeon Masters • Real-time Decisions │
│ - Low latency AI responses │
│ - Boss battle verification │
│ - Unique quiz generation from Knowledge vectors │
└─────────────────────────────────┬───────────────────────────┘
│
↓
┌─────────────────────────────────────────────────────────────┐
│ CONVEX (The RAM) │
│ Real-time Game State • Live Updates • High-Speed Sync │
│ - Player positions, chat, leaderboards │
│ - AI thinking streams │
│ - Quest progress (hot state) │
│ - Syncs heavy achievements to Sui when needed │
└─────────────────────────────────┬───────────────────────────┘
│
↓
┌─────────────────────────────────────────────────────────────┐
│ SUI (The Hard Drive) │
│ Truth Layer • Portable Assets • Composable Identity │
│ - Stake contracts (funds + progress) │
│ - Soulbound artifacts (credentials) │
│ - LEARN token balances │
│ - Guild treasuries │
│ - Cross-game composability │
└─────────────────────────────────────────────────────────────┘
```
---
## Viral Growth Loops
### Loop 1: Scholarship Mechanic
```typescript
// Patron delegates stake to Scholar
async function grantScholarship(patronId, scholarId, dungeonId) {
// 1. Create delegation connection
const scholarship = await provider.connections.create({
type: "mentored_by",
fromThingId: scholarId,
toThingId: patronId,
metadata: {
dungeon_id: dungeonId,
stake_delegated: 50,
yield_split: { patron: 0.5, scholar: 0.5 }
}
});
// 2. On-chain: Patron's tokens go to Scholar's stake contract
await suiClient.delegateStake(patronId, scholarId, dungeonId, 50);
// 3. Log event
await provider.events.log({
type: "scholarship_granted",
actorId: patronId,
targetId: scholarId,
metadata: { dungeon_id: dungeonId, amount: 50 }
});
// Result: Patron recruits Scholar. If Scholar wins, both profit.
}
```
### Loop 2: PvP Knowledge Duels
```typescript
// Challenge a friend
async function initiateDuel(challengerId, defenderId, wager) {
// 1. Create arena group
const arena = await provider.groups.create({
type: "arena",
name: `Duel: ${challengerId} vs ${defenderId}`,
properties: { wager, status: "pending" }
});
// 2. Both stake tokens
await provider.events.log({
type: "duel_initiated",
actorId: challengerId,
targetId: defenderId,
groupId: arena.id,
metadata: { wager }
});
// 3. AI Referee generates unique problem set
const problems = await aiReferee.generateDuelProblems({
knowledge_sources: [challengerProfile, defenderProfile],
difficulty: "matched",
question_count: 5
});
// 4. Winner takes pot
// ... battle logic ...
}
```
### Loop 3: Social Flex (Dynamic NFT Sharing)
```typescript
// When artifact evolves, trigger social share
async function onArtifactEvolution(artifactId, newStage) {
const artifact = await provider.things.get(artifactId);
// Generate shareable image
const shareImage = await generateShareCard({
artifact_name: artifact.name,
stage: newStage,
level: artifact.properties.level,
hero_name: artifact.properties.holder_name
});
// Create share event
await provider.events.log({
type: "share_generated",
actorId: artifact.properties.holder_id,
targetId: artifactId,
metadata: {
platform: "twitter",
image_url: shareImage,
caption: `🎮 My ${artifact.name} just evolved to ${newStage}! Level ${artifact.properties.level} in The Infinite Game.`
}
});
}
```
---
## Implementation Phases
### Phase 1: The Quest Board (UI + Ontology)
- [ ] Build Convex real-time frontend
- [ ] Map Education Ontology to game assets
- [ ] Replace dashboard with World Map visualization
- [ ] Implement skill tree UI from connections
### Phase 2: The Summoning (Sui Contracts)
- [ ] Deploy `HeroNFT` (Profile) contract
- [ ] Deploy `StakeContract` (Stake-to-Play logic)
- [ ] Deploy `Artifact` (Evolving SBT)
- [ ] Deploy `LEARN` coin
- [ ] Implement Graveyard Pool mechanics
### Phase 3: The AI Dungeon Master (Agent)
- [ ] Deploy Edge Functions for AI inference
- [ ] Implement Boss Battle verification
- [ ] Build unique quiz generator from Knowledge graph
- [ ] Enable AI-signed credential transactions
### Phase 4: The Guild Wars (Social)
- [ ] Launch Guild staking mechanics
- [ ] Implement Scholarship system
- [ ] Build PvP Arena
- [ ] Create leaderboards (TVL = Total Value Learned)
---
## AI Agent Pattern: 98% Accuracy
Every game feature follows the same ontology pattern:
```typescript
// Feature: Complete a quest and earn rewards
Effect.gen(function* () {
const provider = yield* Provider;
// 1. Verify quest completion (AI Dungeon Master)
const verification = yield* DungeonMaster.verifyQuestCompletion(heroId, questId);
// 2. Update stake contract progress (things)
yield* provider.things.update(stakeContractId, {
properties: { quests_completed: current + 1 }
});
// 3. Create quest completion connection
yield* provider.connections.create({
type: "quest_completed",
fromThingId: heroId,
toThingId: questId,
metadata: { score: verification.score, xp: verification.xp }
});
// 4. Log quest complete event
yield* provider.events.log({
type: "quest_completed",
actorId: heroId,
targetId: questId,
metadata: { xp_earned: verification.xp, tokens_earned: verification.tokens }
});
// 5. Update hero XP (people)
yield* provider.people.update(heroId, {
properties: { xp_total: currentXp + verification.xp }
});
// 6. Mutate artifact if threshold reached (things + events)
yield* ArtifactMutator.checkAndEvolve(heroId, verification.xp);
// 7. Update knowledge profile (knowledge)
yield* provider.knowledge.update(heroProfileId, {
content: updatedLearningProfile
});
return { success: true, rewards: verification };
});
```
---
## Summary: Game Ontology Mapping
| Game Concept | Dimension | Type | Blockchain |
|--------------|-----------|------|------------|
| Faction/School | Groups | `faction` | - |
| Guild | Groups | `guild` | Sui Treasury |
| Raid Party | Groups | `raid_party` | - |
| Hero | People | `hero` role | - |
| Dungeon Master | Things | `ai_agent` | Edge |
| Dungeon (Course) | Things | `dungeon` | Convex |
| Quest (Lesson) | Things | `quest` | Convex |
| Stake Contract | Things | `stake_contract` | **Sui Object** |
| Artifact (Diploma) | Things | `artifact` | **Sui SBT** |
| Skill Gem | Things | `skill_gem` | **Sui SBT** |
| LEARN Token | Things | `token` | **Sui Coin** |
| Quest Active | Connections | `quest_active` | Convex |
| Skill Unlocked | Connections | `skill_unlocked` | Convex → Sui |
| Scholarship | Connections | `mentored_by` | Sui Delegation |
| Quest Complete | Events | `quest_completed` | Convex → Sui |
| Boss Defeated | Events | `boss_defeated` | Sui TX |
| Artifact Evolved | Events | `artifact_evolved` | Sui Mutation |
| Lore Chunk | Knowledge | `lore_chunk` | Vector DB |
| Hero Profile | Knowledge | `hero_profile` | Vector DB |
---
## Relationship to Core Education Ontology
This document **extends** [ontology-education.md](./ontology-education.md):
| Core Education | The Infinite Game |
|----------------|-------------------|
| Course management | Dungeon design |
| Assignment workflow | Quest system |
| Enrollment system | Stake-to-Play |
| Grade book | XP & Leaderboards |
| Certificates | Soulbound Artifacts |
| Student dashboard | Hero Profile + World Map |
| Teacher dashboard | Quest Giver + Dungeon Master |
The gamified layer adds:
- **Economic incentives** (staking, yield, graveyard pools)
- **Social mechanics** (guilds, scholarships, duels)
- **AI adversaries** (boss battles, verification)
- **Dynamic assets** (evolving NFTs)
- **Viral loops** (recruitment, social flex)
---
**The Infinite Game transforms education from consumption to participation.**
Every stake creates accountability. Every quest builds skills. Every artifact proves mastery. Every connection amplifies growth.
This is education as it should be: **high-stakes, AI-powered, and infinitely rewarding.** 🎮