Devpost Submission — C9 DraftOracle
- Hackathon: Sky's the Limit: The Cloud9 × JetBrains Global Hackathon
- Primary Category: League of Legends — Macro Scouting & Draft Management (Fearless Draft)
- Secondary / Bonus Eligibility: Best AI-Powered Workflow Story (JetBrains IntelliJ IDEA + Junie + Kotlin Multiplatform) & Event Booth Minigame Mode
- License: MIT
Inspiration
Starting in the 2025–2026 competitive seasons, Hard Fearless Draft transformed Best-of-3 and Best-of-5 series: once a champion is picked in Game 1, neither team may pick it again for the rest of the series. By Game 4 or Game 5, up to 40 meta staples are permanently locked out before a single ban is placed. Coaching staff only get seconds on stage to recalculate flex-role feasibility, damage-profile balance, and opponent comfort threats across a rapidly shrinking champion pool. Meanwhile, fans watching live at Cloud9 events love arguing over "what should Cloud9 have picked on R5?"—but lack an interactive way to test their instincts against an analytical oracle.
What It Does
C9 DraftOracle solves both halves of the esports ecosystem in one unified platform:
- Coach War Room:
- Models the exact 20-step professional Ban/Pick sequence (
BB1–RB3 → BP1–RP3 → RB4–BB5 → RP4–BP5) with Hard Fearless Vault lockouts across Games 1–5. - Runs a deterministic Minimax-PUCT Monte-Carlo Tree Search backed by Empirical Bayes shrinkage priors (Beta-Binomial champion strength + sample-shrunk pairwise synergies + lane/teamfight matchup counters + damage-profile & frontline checks).
- Resolves multi-role flex picks (e.g., Aurora, Poppy, Corki, Gragas, Smolder) via exact $5!$ log-prior role assignment.
- Decomposes every recommendation into interpretable coaching metrics: Expected Win %, Win Δ%, Synergy Contribution, Counter Edge, and Opponent Comfort Denial.
- Directly ingests GRID Series State GraphQL JSON payloads to reconstruct past games' Fearless lockouts and live pick/ban state in one click.
- Models the exact 20-step professional Ban/Pick sequence (
- Fan Event Minigame — "Oracle Booth Challenge":
- A 5-round, 15-second shot-clock interactive minigame designed for Cloud9 live event booths.
- Fans step into Game 4/5 Fearless Draft dilemmas, race the clock, earn
S / A / B / CMCTS grades with WebAudio cues, climb the local leaderboard, and copy a shareable emoji draft card.
How We Built It
- Kotlin Multiplatform + Ktor (
kotlin-engine/): Core domain models (Models.kt),BayesianEvaluator.kt,MctsDraftOracle.kt,GridSeriesAdapter.kt, and Ktor CIO HTTP API (Application.kt) authored cleanly for IntelliJ IDEA with JetBrains.junie/guidelines.mdguarding Fearless invariants, determinism, and IP hygiene. - Zero-Dependency Static Web Runtime (
docs/): Isomorphic JavaScript engine (engine.js) generated from the same unified 60-champion catalog (data.js) so judges and coaches can run full PUCT simulations locally at zero server cost on GitHub Pages orfile://. - Dual-Verification Harness (
tests/):verify_mcts_draft.pystress-tests the exact minimax/Bayesian math against an exhaustive brute-force solver across randomized Game 3–5 Fearless scenarios, alongsidetest_engine.mjsverifying GRID ingestion, swap symmetry, and deterministic seeded search.
Challenges We Ran Into
- Preventing Small-Sample Scrim Overfitting: Raw scrim win rates on niche picks can swing wildly on 3–5 games. Introducing Beta-Binomial shrinkage ($\alpha_0 = 40$) and pairwise edge shrinkage ($\lambda = 25$) kept rare picks bounded while still rewarding proven 100+ game pro duos like Xayah–Rakan and Lucian–Nami.
- Fast Exact Role Assignment for Flex Drafts: Evaluating thousands of MCTS rollouts requires assigning flex picks to
{TOP, JGL, MID, BOT, SUP}without misclassifying a Poppy support vs jungle flex. Precomputed log-priors and exact $5!$ backtracking keep assignment deterministic and microsecond-fast. - IP-Clean Visuals: Following Riot asset guidelines, all champion tiles use bespoke role-coded geometric monogram sigils and vector telemetry instead of external splash art.
Accomplishments That We're Proud Of
- Zero-mismatch differential verification: Our optimized Alpha-Beta/MCTS endgame solver matched exhaustive brute-force minimax search across 60+ randomized Fearless states and known oracle baselines.
- 100% browser-portable telemetry: Coaches get sub-100ms PUCT evaluations with live win-rate trajectory SVG plotting and instant GRID JSON hydration without needing cloud GPU servers.
- Dual Coach + Fan utility: One mathematical engine powers both serious Bo5 draft prep and a replayable event booth challenge.
What's Next
- Live WebSocket streaming bridge to GRID Series State feeds during live tournament broadcasts.
- Automated post-match Bayesian prior updates from team-specific scrimmage CSV/ROFL exports.
- Custom Cloud9 booth hardware kiosk mode with NFC badge leaderboard sync.
3-Minute Demo Video Script Outline
0:00–0:35The Fearless Draft Problem: Show Game 5 of a Bo5 where 40 champions are locked out; explain why coaches only have 30 seconds to weigh damage split, flex uncertainty, and comfort bans.0:35–1:25Coach War Room Live Demo: Import the sample GRID Bo5 payload -> show 20 champions instantly entering the Fearless Vault -> run MCTS Oracle (420 sims) -> walk through Top-3 recommendations (Synergy,Counter,Denial) and watch the Win-Rate Trajectory SVG shift as Auto-AI Red drafts back.1:25–2:10Under the Hood (Kotlin + Junie + Verification): Showkotlin-engine/in IntelliJ IDEA structure,.junie/guidelines.mdinvariants, and live execution oftest_engine.mjs+verify_mcts_draft.pydifferential stress test.2:10–2:50Fan Event Booth Minigame: Switch to Oracle Booth Challenge, play two 15-second rounds with live S/A grading and shareable emoji result card.2:50–3:00Wrap-up & MIT Open Source Repo.
Live Demo & Source Code
- Interactive Coach & Booth Demo: https://daohuutrong2404.github.io/c9-draftoracle/
- GitHub Repository: https://github.com/DaoHuuTrong2404/c9-draftoracle