A game from 2600 BC is still playable. A game from 2014 may not be.
The Royal Game of Ur survives because everything it needs can be rebuilt by anyone: the rules are known, the board can be scratched in dirt, the craft of playing it well was written down. A modern video game is the opposite by construction — its rules are welded to one engine, its objects live on one company's servers, and its design knowledge dies with its studio. None of that is a law of software. It is an architecture, and architectures can be replaced.
EGS is a set of open protocols that separate what must endure about a game from what may churn:
- game logic from any engine — RUNS
- game objects from any server — AEMS
- design knowledge from any studio — MAPS
- infrastructure coordination from any company — WOCS
The four protocols are independent. Each is useful alone; none requires the others; each can fail alone without taking the rest down. What unifies them is the separation principle itself, applied to four different couplings.
This is not an engine — open-source or otherwise. Open-sourcing an engine removes the vendor (nobody can revoke your license or reprice you, as Unity did in 2023) but not the coupling: the game is still written inside one engine, bound to its scene tree, its scripting language, its version churn. EGS addresses the coupling. See the FAQ for how this differs from Godot, emulation, and preservation programs.
🧭 Why · 📍 Status · ⚖️ Governance · ❓ FAQ · 🔤 Glossary
📦 AEMS · 🎯 AEMS Conventions · 🔧 RUNS · 📖 RUNS Library · 🎼 MAPS · ⚡ WOCS
| You are | Start with | Because |
|---|---|---|
| A game designer | MAPS | A draft notation for game mechanics, still open for change. No infrastructure, no tooling, no other protocol. |
| An engine or runtime developer | RUNS | Specs for computation (DIGS), wiring (Network Topology), machine description and declarations, and the conversion process. |
| A preservationist or archivist | AEMS | Signed plain-text events that any server or archive can keep, and that verify wherever they land. Draft, with event kinds not yet pinned. |
| An infrastructure provider | WOCS | Coordination and settlement for hosting, audits, and tournaments. |
| Asking "why does any of this exist?" | WHY.md | The diagnosis, in ~1,300 words. The book is the long form. |
The protocols carry different dependencies, and evaluating one never requires swallowing the others' premises:
| To use | You must accept | You do not need |
|---|---|---|
| MAPS | That game mechanics are worth writing down in a formal notation | Nostr, Bitcoin, or any other EGS protocol |
| RUNS (with DIGS) | That deterministic, engine-independent game logic is worth having; content-addressed publication (Nostr) for distribution | Bitcoin, Lightning, or any monetary position |
| AEMS | That signed plain-text events on public relays (Nostr) outlive server-locked objects | Bitcoin, or that any game executes on RUNS |
| WOCS | Lightning as a settlement rail — the one protocol with a Bitcoin dependency | That any other layer uses it; nothing else in EGS depends on WOCS |
| The economic thesis — why craft-first games get funded long-term | The monetary argument made in the book Enduring Games | It is required by none of the protocols |
Four signed event kinds linked by parent references, published on a public commons rather than stored in a proprietary database. The full glossary is aems-schema/CONTEXT.md.
- Entity — A signed naming of a concept ("Sword," "Health Potion," "Master Sword"). A naming can be ownerless or authored. Rival namings coexist, and use decides which one a community references.
- Manifestation — A game's interpretation of one or more Entities. A particular game's "Iron Sword: 6 damage, 250 durability, fire enchantment," referencing the Entities it descends from.
- Asset — A signed claim of possession of one instance of a Manifestation. Whoever is asked to honor the claim decides whether to.
- State — The claimed current condition of an Asset, such as durability or enchantment charges remaining.
The model is the chess Knight: the piece has outlasted every manufacturer that ever carved one, because the piece is not the object — it is a shared naming that any maker can interpret. When a studio shuts down, its Entities and Assets stay on the commons for as long as relays or archives keep copies. Future games can recognize, interpret, or ignore them as a design decision, not a technical constraint.
A composable, plain-text source format for game logic, comparable to Entity Component System (ECS) or data-oriented design, compiled to native binaries on any platform.
- Records — Typed data containers with named fields, serving a similar role to ECS Components or structs.
- Processors — Verbs: pure transformations that take values on their inputs and give values on their outputs, holding no state and naming no Record, comparable to ECS Systems or compute shader kernels.
- Networks — Explicit graphs that wire Records to Processors; the data flow is declared in plain text, and its wires and guards state the order the rules run in.
RUNS applies the Linux model to game execution: there is no "RUNS engine," the way there is no single "Linux OS." Each game assembles its own engine from shared components into a standalone build — the way Android and the Steam Deck are different operating systems built from the same kernel and coreutils. Renderers, input systems, and physics backends are replaceable without rewriting game rules; source can be opened, Processors swapped, and variants compiled.
Processor bodies are written in DIGS (Deterministic Inspectable Game Syntax): a pure, total, deterministic expression language — every Processor terminates, reads only its declared inputs, and has no side effects. A game's arithmetic is part of its rules: every game's source declares its number types and their operations (an 18-bit ones' complement game says so), so every machine computes the same results. Another arithmetic is another game. Where a target demands it, a game can also declare a static execution bound or a fixed memory footprint. The declaration is the contract; the core never assumes them.
The first test is a conversion: Spacewar! (1962) rewritten in RUNS with the game exactly the same, its rules pure and separate from its presentation, and the whole presentation kept. Compiled for the PDP-1, it rebuilds the original binary bit for bit; that identical binary is the proof. Run without its presentation, its rules run on any machine. The goal is a conversion process written down so it repeats for any game, and a way to build new games in RUNS from scratch.
The goal: a notation in which game mechanics can be written down, studied, and forked. The notation is open. The current draft uses four primitives, comparable to Machinations diagrams or formal state machine definitions; whether that is the right notation for games is not settled.
- State — An observable condition ("Airborne," "Charging," "Poisoned").
- Verb — An available action ("Jump," "Attack," "Dodge").
- Arc — A directed transition linking States through Verbs, with conditions and effects.
- Mark — A quantifiable resource (health, stamina, ammo, score).
The model is staff notation: Guido's staff did not compose music, it made composition transmissible — and a millennium of cumulative craft followed. MAPS aims the same instrument at game mechanics.
The MAPS Library (not yet public) provides shared patterns for common mechanics (resource acquisition, locked transitions, basic exchanges).
A coordination protocol comparable to a decentralized bounty board, replacing centralized infrastructure management with an open market settled on Lightning.
- Offer — A broadcast need with committed payment ("500 sats for a game lobby tonight," "10,000 sats/month for anti-cheat monitoring").
- Fulfill — Proof of delivery with a payment request.
- Ack — Confirmation and instant settlement via Lightning.
Server hosting, anti-cheat services, tournament organization, content commissioning, community moderation — any infrastructure a living game requires can be coordinated through WOCS without depending on a single company's continued operation. When one provider disappears, the need persists publicly and another provider can respond.
Where RUNS, AEMS, and MAPS each follow a proven precedent (Linux, the chess Knight, staff notation), WOCS has none: no protocol-native funding layer has ever worked — Linux solved the same problem with a foundation. It is the most speculative layer of the standard, and the only one that depends on Lightning. Nothing else in EGS depends on it.
The correspondence map owns the inter-protocol topology — the stack from RUNS source down to platform runtime, and the AEMS, MAPS and WOCS edges.
Long-lived protocols share a pattern: aggressive exclusion. They define minimal coordination primitives and deliberately refuse features that belong at higher layers.
| Protocol | What It Does | What It Deliberately Excludes |
|---|---|---|
| TCP/IP | Packet routing | Content, security, identity, application semantics |
| SMTP | Store-and-forward messages | Encryption, spam filtering, read receipts |
| Bitcoin | Timestamped transaction ordering | Smart contracts, identity, privacy, governance |
| MIDI | Note events | Sound synthesis, audio, timing guarantees |
| EGS | Game architecture primitives | Databases, marketplaces, engines, matchmaking, moderation |
AEMS defines four event kinds and their parent references, not databases. RUNS defines data-flow composition, not rendering. WOCS defines coordination primitives, not escrow or reputation. MAPS defines interactive grammar, not execution timing.
The protocols run on Nostr and Lightning.
Nostr provides signed publication. Every artifact (AEMS events, game logic, coordination offers, notation scores) is cryptographically signed by its creator and verifies wherever it lands. Anyone can copy it to any relay and read it without permission. An artifact lasts while relays or archives keep copies, so no single server's shutdown or policy change removes it everywhere.
Lightning provides instant Bitcoin settlement: WOCS coordination payments complete atomically with near-zero fees, no intermediaries, and no escrow. Lightning is a WOCS dependency only; the other protocols never touch it.
The Provenance Without Notaries or Sovereigns (PWNS) standard extends the foundation for authored experiences — puzzle games, mystery narratives, interactive art — where the creator's intent is the experience. PWNS separates the seal from the dial: provenance is always public (a signed hash showing which key signed it, anchored when priority matters), while content openness is the author's covenant setting — open, windowed, or reserved. Publishing provenance never publishes the work; provenance protects credit, and the sale stays with whatever store the author trusts.
This README describes the architecture. WHY.md states the diagnosis it answers — why digital games die, in structural terms, with no economic commitments required. The full argument, including the monetary thesis the protocols themselves do not depend on, is the book: Enduring Games: Patient Capital, Durable Substrate, and the Fix for an Industry That Eats Itself (Scott Sheppard, 2026).
The family names are phonetic game verbs ("he AIMS", "he RUNS", "he DIGS"); each expansion is a memory aid, not a precise definition. The sections above define each protocol in full.
| Name | Expands to | Role |
|---|---|---|
| AEMS | Asset-Entity-Manifestation-State | the things — signed claims about game objects on the commons |
| RUNS | Records Update on Neutral Substrate | the game — plain-text source for game logic |
| DIGS | Deterministic Inspectable Game Syntax | the computation — RUNS's pure expression language (Processor bodies + Network guards) |
| MAPS | Mechanics and Play Structures | the design knowledge — design-time notation for game mechanics |
| WOCS | Work Offered, Claimed, Settled | the coordination — optional, Lightning-settled market for ecosystem services |
| PWNS | Provenance Without Notaries or Sovereigns | extension — provenance for authored experiences |
The four core protocols are AEMS, RUNS, WOCS, and MAPS. DIGS is a sub-language of RUNS, not a fifth protocol. PWNS is an optional extension.
Draft specifications. One conversion exists: Spacewar! (1962) in RUNS, compiled back to the original PDP-1 binary. No other game and no other machine yet. Per-layer state, and the oracle that turns asserted claims into verified ones: STATUS.md. How changes happen, and what a legitimate fork looks like: GOVERNANCE.md.
MIT License — Free to implement, adapt, share.