YGN Standard
The open, human-readable, deterministic algebraic standard for competitive match logs and game state snapshots (YBN)—modeled after Chess PGN and FEN. Replaces 25 years of lossy clickstreams with verifiable algebraic game records.
Engineering formal algebraic game grammars, deterministic state-space combinatorial simulation engines, and local-first Model Context Protocol (MCP) infrastructure.
For over twenty-five years, competitive digital trading card games have relied on fragile, opaque foundations: bloated browser DOM clickstreams containing 90%+ user interface noise, proprietary desynchronizing binary replay archives, and heuristic "rules of thumb" that collapse under rigorous combinatorial scrutiny.
Haunted Labs was established to bring enterprise telecommunication rigor, formal language design, and deterministic state-space computation into competitive gaming. We build open RFC standards, headless computation engines ("Stockfish for TCGs"), and air-gapped Model Context Protocol (MCP) data servers that allow both human grandmasters and autonomous AI agents to reason from mathematical ground truth.
Governed by RFC 0001 (YGN Standard). Engineered an algebraic, context-free grammar modeled after Chess PGN and FEN. Introduces deck-scoped card alias registries (#1..#40, #e1..#e15) and single-line 14-zone state snapshots (YBN), eliminating 90%+ UI clickstream noise with official reference parsers in TypeScript, Python, and Lua.
Autonomous computation engine (ygo-sim-core). Models official Konami Fast Effect Timing (Boxes A–E), 4-tier SEGOC chain blocking, and conjunction truth tables. Employs Stockfish move ordering, greedy link-zone snapping, and xxHash64 zero-collision transposition tables to discover complex 20+ step playlines and execute 540-game ($10\times$ Swiss) Monte Carlo simulations.
Zero-network, local-first data architecture. Packages 13,000+ cards, verbatim Problem-Solving Card Text (PSCT), multi-format banlists, and multi-source tournament intelligence into embedded SQLite WAL databases, delivering sub-2ms query execution with 100% immunity to live web scraping rate limits.
Eliminating regional reporting skew across Western Premier tournaments, Asian OCG championships, and Master Duel cups via sample-weighted Bayesian consensus:
S(A) = ∑(N_i * P_i(A)) / ∑(N_i)
The open, human-readable, deterministic algebraic standard for competitive match logs and game state snapshots (YBN)—modeled after Chess PGN and FEN. Replaces 25 years of lossy clickstreams with verifiable algebraic game records.
Autonomous, high-performance deterministic combinatorial simulation and board state valuation engine ("Stockfish for Yu-Gi-Oh!"). Enforces Fast Effect Timing (Boxes A–E), SEGOC chain blocking, xxHash64 transposition tables, and stdio Model Context Protocol (MCP) server integration.
Hardened, air-gapped Model Context Protocol (MCP) server delivering zero-hallucination Problem-Solving Card Text (PSCT), 13,000+ card statistics, format banlists, and Genesys point valuations with sub-2ms local execution. Zero outbound HTTP at runtime.
Multi-source competitive metagame intelligence and tournament discovery Model Context Protocol (MCP) server. Aggregates live top-cut tournament decks across YGOPRODeck, Yu-Gi-Oh! Meta, and Road of the King, computing sample-weighted Bayesian consensus tier rankings, empirical tech adoption (Main & Side), and immutable tournament decklists with sub-2ms local execution.
100% client-side, zero-latency research tools developed by Haunted Labs to empower competitive players, theorists, and automated game engines without server dependencies.
Transform messy browser clickstreams from Dueling Book (duel_log.txt) into compact, verifiable RFC 0001 YGN match records and 14-zone spatial YBN snapshots directly in your browser. Strips 90%+ clickstream noise.
Pre-classified theory submission portal. Submit combo playlines, YBN milestone board states, chokepoint mitigations, and PSCT ruling interactions directly to Haunted Labs for deterministic verification and open publication.
Haunted Labs systems operate through clear domain separation: standards govern grammar, computation engines execute graph traversal, and local MCP data servers provide air-gapped ground truth.
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ UPSTREAM STANDARDS BODY │
│ ygn-standard (RFC 0001 YGN/YBN) │
└───────────────────────────────────────────┬────────────────────────────────────────────┘
│
┌────────────────────────────┴────────────────────────────┐
▼ ▼
┌───────────────────────────────────────────────┐ ┌────────────────────────────────────────┐
│ AUTONOMOUS COMPUTE ENGINE │ │ AIR-GAPPED LOCAL MCP LAYER │
│ ygo-sim-core │ │ ygoprodeck-mcp & ygo-meta-mcp │
├───────────────────────────────────────────────┤ ├────────────────────────────────────────┤
│ • 14-Zone Full Memory State Model │ │ • ygoprodeck-mcp (npm v2.0.0): │
│ • Fast Effect Timing State Machine (Boxes A-E)│ │ - 13,000+ cards, verbatim PSCT │
│ • SEGOC 4-Tier Chain-Blocking Priority Engine │ │ - Normalized multi-format banlists │
│ • Combinatorial DFS Search & Pruning │ │ - Genesys 100-point budget validator │
│ • xxHash64 Transposition Tables (Loop Safety) │ │ • ygo-meta-mcp (npm v1.1.0): │
│ • 10,000-Hand Monte Carlo Sampler in ~4ms │ │ - Multi-source Bayesian consensus │
│ • Multi-Layer V(YBN) Valuation Function │ │ - Empirical tech adoption (Main/Side)│
│ • Adversarial Interruption Injection │ │ - Immutable tournament vault & .ydk │
└───────────────────────▲───────────────────────┘ └───────────────────▲────────────────────┘
│ │
└────────── MCP TOOL CONTRACT BOUNDARY ─────────┘
(JSON-RPC over stdio)
- simulate_test_hands
- explore_combo_tree
- evaluate_handtrap_resilience
- score_ybn_state
- search_cards / get_card_details
- get_meta_tier_list / get_tech_adoption_trends
Nilo Edson is a Telecom Systems Engineer proficient in Baseband processor stack integration (Qualcomm/MediaTek), Android Core OS upgrades, and low-level ARM embedded systems. He brings formal systems engineering, discrete-event protocol simulation, and mathematical verification into the architecture of Haunted Labs.