{
  "schemaVersion": 1,
  "id": "game-code-archaeology",
  "title": "Why games work this way",
  "description": "A playable archaeology of games, source and the decisions behind them.",
  "created": "2026-10-13",
  "scope": "Initial ethosBASIC-JS source-tree inventory and 30 authored learning studies. Not a complete historical archive or proof of original publication dates.",
  "eras": [
    {
      "id": "origins",
      "title": "Arcade foundations",
      "timeframe": "1970s–early 1980s teaching lens"
    },
    {
      "id": "rooms",
      "title": "Rooms, platforms and home micros",
      "timeframe": "1980s teaching lens"
    },
    {
      "id": "craft",
      "title": "Listings, languages and authoring tools",
      "timeframe": "1980s–2000s teaching lens"
    },
    {
      "id": "presentation",
      "title": "Richer presentation and worlds",
      "timeframe": "1990s–2000s teaching lens"
    },
    {
      "id": "modernisation",
      "title": "Restoration and modernisation",
      "timeframe": "Current ethos case studies"
    },
    {
      "id": "browser",
      "title": "Browser, mobile and preservation",
      "timeframe": "Current ethos case studies"
    }
  ],
  "sources": [
    {
      "id": "aroids",
      "kind": "repository-document",
      "repository": "humphaz/ethosbasic-js",
      "commit": "f59b2ed16fbb456559d511d5146efffb5010c4c0",
      "path": "docs/AROIDS2.md",
      "url": "https://github.com/humphaz/ethosbasic-js/blob/f59b2ed16fbb456559d511d5146efffb5010c4c0/docs/AROIDS2.md",
      "summary": "Sequel resources, bearings, collision grid and documented validation limits."
    },
    {
      "id": "coal",
      "kind": "repository-document",
      "repository": "humphaz/ethosbasic-js",
      "commit": "f59b2ed16fbb456559d511d5146efffb5010c4c0",
      "path": "docs/COAL_CART_CARL_ART.md",
      "url": "https://github.com/humphaz/ethosbasic-js/blob/f59b2ed16fbb456559d511d5146efffb5010c4c0/docs/COAL_CART_CARL_ART.md",
      "summary": "Retained listing, wheel motion, ladder caps, generated music and caching."
    },
    {
      "id": "flight",
      "kind": "repository-document",
      "repository": "humphaz/ethosbasic-js",
      "commit": "f59b2ed16fbb456559d511d5146efffb5010c4c0",
      "path": "examples/games/source/aroids2-flight.bas",
      "url": "https://github.com/humphaz/ethosbasic-js/blob/f59b2ed16fbb456559d511d5146efffb5010c4c0/examples/games/source/aroids2-flight.bas",
      "summary": "Inspected ship wrapping, quantised bearings and muzzle transforms."
    },
    {
      "id": "coal-physics",
      "kind": "repository-document",
      "repository": "humphaz/ethosbasic-js",
      "commit": "f59b2ed16fbb456559d511d5146efffb5010c4c0",
      "path": "examples/games/source/coal-campaign.bas",
      "url": "https://github.com/humphaz/ethosbasic-js/blob/f59b2ed16fbb456559d511d5146efffb5010c4c0/examples/games/source/coal-campaign.bas",
      "summary": "Inspected tile parsing and ladder-cap movement."
    },
    {
      "id": "frog",
      "kind": "repository-document",
      "repository": "humphaz/ethosbasic-js",
      "commit": "f59b2ed16fbb456559d511d5146efffb5010c4c0",
      "path": "docs/FROG_CROSSING.md",
      "url": "https://github.com/humphaz/ethosbasic-js/blob/f59b2ed16fbb456559d511d5146efffb5010c4c0/docs/FROG_CROSSING.md",
      "summary": "Controls, banks, original artwork and test scope."
    },
    {
      "id": "jsw-instructions",
      "kind": "historical-instructions-transcription",
      "url": "https://rk.nvg.ntnu.no/sinclair/instructions/jsw.html",
      "summary": "Supports the party-cleanup premise. Its header says 1983; do not use it alone to establish the release date."
    },
    {
      "id": "jsw-disassembly",
      "kind": "annotated-disassembly",
      "url": "https://skoolkit.ca/disassemblies/jet_set_willy/hex/maps/data.html",
      "summary": "Lists room, entity, item and screen buffers. This is a later disassembly, not the author's original source listing."
    }
  ],
  "lessons": [
    {
      "id": "arch-01",
      "order": 1,
      "era": "origins",
      "title": "Why does a game repeat itself?",
      "question": "Why does a game repeat itself?",
      "explanation": "A game loop repeatedly reads input, changes state and draws the result. Repetition creates the illusion of continuous action.",
      "lab": {
        "route": "lesson:loop",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "b6369c1809eab11a808bc8f3bad4150b31b2247dd2328fd907c5328d009abfad"
      },
      "modify": "Change the number of updates; separate simulation steps from pictures.",
      "evidence": "Record state after 60 updates, then compare two presentation rates.",
      "tags": [
        "loops",
        "timing"
      ],
      "prerequisites": [],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-02",
      "order": 2,
      "era": "origins",
      "title": "Why do spaceships keep drifting?",
      "question": "Why do spaceships keep drifting?",
      "explanation": "Keeping velocity after input stops produces inertia. Directly assigning position produces a different control feel.",
      "lab": {
        "route": "lesson:motion",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "9779cf1d13ede9eef41941777c191b1ddf9df7b9ff50d2c9e1c347d27a6db325"
      },
      "modify": "Change speed, then add drag as a separate experiment.",
      "evidence": "Compare distance travelled after release over the same update count.",
      "tags": [
        "velocity",
        "controls"
      ],
      "prerequisites": [
        "arch-01"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-03",
      "order": 3,
      "era": "origins",
      "title": "Why does the ship reappear on the other side?",
      "question": "Why does the ship reappear on the other side?",
      "explanation": "A repeating world maps positions back into a fixed interval. Its edges join; it is a deliberate world rule.",
      "lab": {
        "route": "lesson:wrap",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "1050b8b4082a5e7cd8763c11252ee0de7c90d72ad844238bbe4d49555e1e489c"
      },
      "modify": "Change width and test both positive and negative motion.",
      "evidence": "Predict and record the position at width, zero and minus one.",
      "tags": [
        "wrapping",
        "topology"
      ],
      "prerequisites": [
        "arch-02"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-04",
      "order": 4,
      "era": "origins",
      "title": "Why does holding Fire not create infinite bullets?",
      "question": "Why does holding Fire not create infinite bullets?",
      "explanation": "A cooldown schedules shot events. A bounded projectile pool separately limits how many can exist.",
      "lab": {
        "route": "lesson:cooldown",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "6e0c6283cfad1831364cd1dd6eab29ca6b705ca4fce23547ecaf378ba53628fc"
      },
      "modify": "Halve the cooldown without changing projectile lifetime.",
      "evidence": "Count events over the same number of updates; explain the two limits.",
      "tags": [
        "pools",
        "cooldowns"
      ],
      "prerequisites": [
        "arch-03"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-05",
      "order": 5,
      "era": "origins",
      "title": "Why can a visible hit be a miss?",
      "question": "Why can a visible hit be a miss?",
      "explanation": "A collision shape is a model of visible artwork. Its size and timing affect fairness.",
      "lab": {
        "route": "lesson:collision",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "cedd6bc86759b5dcc97203520eadf0eb65574b5d5d80424cf2ecc551e57a6f54"
      },
      "modify": "Change one radius and draw the boundary.",
      "evidence": "Show a miss, tangent boundary and overlap with recorded coordinates.",
      "tags": [
        "collision",
        "fairness"
      ],
      "prerequisites": [
        "arch-04"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-06",
      "order": 6,
      "era": "rooms",
      "title": "What is Jet Set Willy all about?",
      "question": "What is Jet Set Willy all about?",
      "explanation": "Willy must clear up after a party before Maria lets him go to bed. This gives exploration a collection goal. The linked state lesson is a modern teaching model, not the original game.",
      "lab": {
        "route": "lesson:state",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "d41b63538c69e091be639971b79eb11fb8adc5bab8ecd12f18c2a75413c89fe2"
      },
      "modify": "Sketch playing, collecting and exit-allowed states; add a requirement to a small remix.",
      "evidence": "Show that an exit stays locked before the final item and opens afterwards.",
      "tags": [
        "jet-set-willy",
        "goals",
        "exploration"
      ],
      "prerequisites": [
        "arch-01"
      ],
      "sourceIds": [
        "jsw-instructions"
      ],
      "historicalClaimStatus": "supported-by-linked-reference",
      "durationMinutes": 20
    },
    {
      "id": "arch-07",
      "order": 7,
      "era": "rooms",
      "title": "How can a mansion fit into data?",
      "question": "How can a mansion fit into data?",
      "explanation": "Room identities and their connections can describe a large explorable world. Repeated tile definitions avoid describing every pixel independently.",
      "lab": {
        "route": "lesson:array",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "f3d28d013609d7606d91f46d3fb358174f184bcf823792e2b607f04bbe587ba8"
      },
      "modify": "Sketch a four-room graph and represent room exits with indices.",
      "evidence": "Follow a return route and identify an intentionally one-way connection.",
      "tags": [
        "rooms",
        "tiles",
        "graphs"
      ],
      "prerequisites": [
        "arch-06"
      ],
      "sourceIds": [
        "jsw-disassembly"
      ],
      "historicalClaimStatus": "supported-by-linked-reference",
      "durationMinutes": 20
    },
    {
      "id": "arch-08",
      "order": 8,
      "era": "rooms",
      "title": "Why is this jump so difficult?",
      "question": "Why is this jump so difficult?",
      "explanation": "Jump impulse, acceleration and update order determine reach and airtime. A difficult jump is not explained by graphics alone.",
      "lab": {
        "route": "lesson:gravity",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "d22dfd405dd43b078b357041819184ce486acfcd9b7fd8733f56b9046e1b3318"
      },
      "modify": "Change acceleration while keeping the initial impulse fixed.",
      "evidence": "Compare apex height and time to landing; keep the same starting position.",
      "tags": [
        "jumping",
        "physics"
      ],
      "prerequisites": [
        "arch-07"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-09",
      "order": 9,
      "era": "rooms",
      "title": "Why does a guardian seem to know where I am going?",
      "question": "Why does a guardian seem to know where I am going?",
      "explanation": "Predictable patrols and random choices create different challenges. Apparent intelligence can emerge from a simple repeated rule.",
      "lab": {
        "route": "lesson:probability",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "450810618cb5071c871882831f2438dd8f24f6ea8eb36610597b4f647b982410"
      },
      "modify": "Compare a repeated sequence with a seeded variation.",
      "evidence": "Replay the same seed and inputs, then explain which decisions can be learned.",
      "tags": [
        "patrols",
        "randomness"
      ],
      "prerequisites": [
        "arch-08"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-10",
      "order": 10,
      "era": "rooms",
      "title": "Why are old games so unforgiving?",
      "question": "Why are old games so unforgiving?",
      "explanation": "A boundary comparison can make an edge safe or lethal. Limited lives, checkpoints and collision tolerance are separate design decisions; avoid assigning one historical cause to every game.",
      "lab": {
        "route": "lesson:debug",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "686cb02ed64b97370b64c9bcd592e081aa4c32130fa7896b27888ecd48e1ca9e"
      },
      "modify": "Change strict versus inclusive collision and propose one checkpoint.",
      "evidence": "Test immediately below, at and above the boundary.",
      "tags": [
        "difficulty",
        "boundaries"
      ],
      "prerequisites": [
        "arch-09"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-11",
      "order": 11,
      "era": "craft",
      "title": "Why did makers type in whole programs?",
      "question": "Why did makers type in whole programs?",
      "explanation": "A listing exposes a program as editable text. Transcription, dialect and resource dependencies affect whether a recovered listing still runs.",
      "lab": {
        "route": "lesson:text",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "ca9d763303b965d63f9a764195bea39c9d29d4c929d3b8b2efb07d63c62f9940"
      },
      "modify": "Change a string and compare its character sum; then reorder its characters.",
      "evidence": "Demonstrate a change the simple checksum fails to detect.",
      "tags": [
        "type-ins",
        "preservation"
      ],
      "prerequisites": [
        "arch-01"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-12",
      "order": 12,
      "era": "craft",
      "title": "How does a picture become a set of flags?",
      "question": "How does a picture become a set of flags?",
      "explanation": "Bits can encode independent properties. Compact representation trades convenience for decoding work.",
      "lab": {
        "route": "lesson:binary",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "8aee4970433c6428c195ef83a5021368a7406269be91ecaf9e5b99abb9e39017"
      },
      "modify": "Assign flags for solid, ladder and hazard; combine two flags.",
      "evidence": "Show each property can be read independently.",
      "tags": [
        "bits",
        "tiles"
      ],
      "prerequisites": [
        "arch-11"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-13",
      "order": 13,
      "era": "craft",
      "title": "Why did code grow into reusable routines?",
      "question": "Why did code grow into reusable routines?",
      "explanation": "A function gives a calculation a name and parameters. One shared rule is easier to compare across versions than copied formulas.",
      "lab": {
        "route": "lesson:function",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "585dffe6f0d85ddf40cf6ebc6db3aef958ba7093cd6c188d82c3f1fa18e6d6f0"
      },
      "modify": "Change a shared calculation and use it for two objects.",
      "evidence": "Verify both objects use the new rule without changing unrelated state.",
      "tags": [
        "functions",
        "structure"
      ],
      "prerequisites": [
        "arch-12"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-14",
      "order": 14,
      "era": "craft",
      "title": "Why did changing one object change another?",
      "question": "Why did changing one object change another?",
      "explanation": "A reference parameter can modify the caller's value. This is a language contract that matters during migration.",
      "lab": {
        "route": "lesson:alias",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "49ab313cd770854405d72e4e9dd4a1fb4962277e6431ad1800d724aa5357e150"
      },
      "modify": "Compare a value parameter and an Alias parameter.",
      "evidence": "Record caller state before and after both calls.",
      "tags": [
        "references",
        "language"
      ],
      "prerequisites": [
        "arch-13"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-15",
      "order": 15,
      "era": "craft",
      "title": "What belongs in a game project?",
      "question": "What belongs in a game project?",
      "explanation": "Source, images, sound and level data form a runnable artefact together. Preserving a single code page may lose the game.",
      "lab": {
        "route": "lesson:array",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "f3d28d013609d7606d91f46d3fb358174f184bcf823792e2b607f04bbe587ba8"
      },
      "modify": "Inventory the banks of one ETO in Studio, change one resource, export and reopen.",
      "evidence": "Compare bank identities and resource counts before and after.",
      "tags": [
        "eto",
        "banks",
        "archives"
      ],
      "prerequisites": [
        "arch-14"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-16",
      "order": 16,
      "era": "presentation",
      "title": "Why does the art point the wrong way?",
      "question": "Why does the art point the wrong way?",
      "explanation": "Rotation transforms local attachment coordinates into world positions. The Aroids flight source uses the same quantised bearing for ship art and attachments.",
      "lab": {
        "route": "lesson:orbit",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "a54d9ff7211a7d89da2e8a0a2dca692a29d81d03d7076702e1579fd0ffff0a23"
      },
      "modify": "Use the orbit experiment to explore angle and radius, then trace A2MachineShot in the cited source.",
      "evidence": "Check four cardinal bearings and a diagonal; compare muzzle and sprite.",
      "tags": [
        "sprites",
        "transforms"
      ],
      "prerequisites": [
        "arch-01"
      ],
      "sourceIds": [
        "flight"
      ],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-17",
      "order": 17,
      "era": "presentation",
      "title": "Why do cart wheels spin backwards?",
      "question": "Why do cart wheels spin backwards?",
      "explanation": "Wheel rotation should follow signed distance travelled. The current Coal Cart documentation describes distance divided by radius, including reversals.",
      "lab": {
        "route": "lesson:motion",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "9779cf1d13ede9eef41941777c191b1ddf9df7b9ff50d2c9e1c347d27a6db325"
      },
      "modify": "Compare forward and reverse displacement and compute the corresponding wheel angle.",
      "evidence": "Verify zero travel means zero additional rotation.",
      "tags": [
        "animation",
        "coal-carts"
      ],
      "prerequisites": [
        "arch-16"
      ],
      "sourceIds": [
        "coal"
      ],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-18",
      "order": 18,
      "era": "presentation",
      "title": "Why do ladders feel awkward at the top?",
      "question": "Why do ladders feel awkward at the top?",
      "explanation": "Walking, climbing and standing on a ladder cap need consistent boundaries. Coal Cart's current code checks the feet at the landing.",
      "lab": {
        "route": "lesson:debug",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "686cb02ed64b97370b64c9bcd592e081aa4c32130fa7896b27888ecd48e1ca9e"
      },
      "modify": "Use the boundary experiment, then inspect CC_Physics in the cited source.",
      "evidence": "Specify climbing up, dismounting sideways and descending through the same cap.",
      "tags": [
        "collision",
        "ladders"
      ],
      "prerequisites": [
        "arch-17"
      ],
      "sourceIds": [
        "coal-physics"
      ],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-19",
      "order": 19,
      "era": "presentation",
      "title": "Why does sound make a hit feel stronger?",
      "question": "Why does sound make a hit feel stronger?",
      "explanation": "A visual event and a sound can reinforce each other. The signal's amplitude and frequency remain separate controls.",
      "lab": {
        "route": "lesson:wave",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "22ba62b6b0cfe093cd34056fc308625d67cc78f59a230d960351b9967149b350"
      },
      "modify": "Change amplitude while keeping frequency fixed; plan one hit cue.",
      "evidence": "Identify which visible waveform property changes and which stays fixed.",
      "tags": [
        "audio",
        "feedback"
      ],
      "prerequisites": [
        "arch-18"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-20",
      "order": 20,
      "era": "presentation",
      "title": "Why should a new level teach something new?",
      "question": "Why should a new level teach something new?",
      "explanation": "Progression can introduce a new rule, route or enemy rather than only increasing speed. Changes should be visible enough to learn.",
      "lab": {
        "route": "lesson:state",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "d41b63538c69e091be639971b79eb11fb8adc5bab8ecd12f18c2a75413c89fe2"
      },
      "modify": "Draft three stages: introduce, combine, then test a mechanic.",
      "evidence": "Record the new decision each stage asks the player to make.",
      "tags": [
        "progression",
        "level-design"
      ],
      "prerequisites": [
        "arch-19"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-21",
      "order": 21,
      "era": "modernisation",
      "title": "Why not redraw everything every frame?",
      "question": "Why not redraw everything every frame?",
      "explanation": "Static scenery can be cached while moving objects are drawn each frame. Coal Cart's documentation separates cached terrain from changing gates and pickups.",
      "lab": {
        "route": "lesson:budget",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "7c4413b1d65e631a9194a6d6926156543338c46a0773c1ccd61568d9c1408211"
      },
      "modify": "Compare work budgets; identify which scenery must invalidate a cache.",
      "evidence": "Keep a correctness check for a removed collectible and an opened gate.",
      "tags": [
        "caching",
        "performance"
      ],
      "prerequisites": [
        "arch-01"
      ],
      "sourceIds": [
        "coal"
      ],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-22",
      "order": 22,
      "era": "modernisation",
      "title": "Why does a big explosion slow the game?",
      "question": "Why does a big explosion slow the game?",
      "explanation": "More particles and collision candidates increase work. Aroids FX-2 documents a spatial grid and bounded pools; instruction counts and elapsed time measure different things.",
      "lab": {
        "route": "lesson:budget",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "7c4413b1d65e631a9194a6d6926156543338c46a0773c1ccd61568d9c1408211"
      },
      "modify": "Hold the workload constant and compare completed work per update.",
      "evidence": "Report result equivalence and the conditions of the timing measurement.",
      "tags": [
        "particles",
        "spatial-grid"
      ],
      "prerequisites": [
        "arch-21"
      ],
      "sourceIds": [
        "aroids"
      ],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-23",
      "order": 23,
      "era": "modernisation",
      "title": "Why does rotating shaded art rotate the light?",
      "question": "Why does rotating shaded art rotate the light?",
      "explanation": "Rotating a bitmap rotates its painted highlights. Re-rendering an object with a fixed light can preserve world lighting; these are different visual models.",
      "lab": {
        "route": "lesson:orbit",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "a54d9ff7211a7d89da2e8a0a2dca692a29d81d03d7076702e1579fd0ffff0a23"
      },
      "modify": "Rotate a marked shape and identify which details rotate with it; sketch fixed-light alternatives.",
      "evidence": "Compare the same object orientation under object-fixed and world-fixed light.",
      "tags": [
        "lighting",
        "sprites"
      ],
      "prerequisites": [
        "arch-22"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-24",
      "order": 24,
      "era": "modernisation",
      "title": "Why must explosions preserve transparency?",
      "question": "Why must explosions preserve transparency?",
      "explanation": "A colour key and per-pixel alpha are different representations. Frame selection, blend state and edge colours can all affect the result.",
      "lab": {
        "route": "lesson:binary",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "8aee4970433c6428c195ef83a5021368a7406269be91ecaf9e5b99abb9e39017"
      },
      "modify": "Use flags to model blend modes, then specify a transparent-edge test for a sprite.",
      "evidence": "Inspect an edge against light and dark backgrounds; distinguish flags from actual pixel blending.",
      "tags": [
        "alpha",
        "rendering"
      ],
      "prerequisites": [
        "arch-23"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-25",
      "order": 25,
      "era": "modernisation",
      "title": "Why wait after the last enemy dies?",
      "question": "Why wait after the last enemy dies?",
      "explanation": "The combat result and the presentation of that result are separate states. A delay lets effects finish and makes the outcome readable.",
      "lab": {
        "route": "lesson:cooldown",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "6e0c6283cfad1831364cd1dd6eab29ca6b705ca4fce23547ecaf378ba53628fc"
      },
      "modify": "Design a clear-pending state with a five-second timer; define whether pause freezes it.",
      "evidence": "Prove score changes once, effects continue, and next-stage entry happens once.",
      "tags": [
        "states",
        "transitions"
      ],
      "prerequisites": [
        "arch-24"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-26",
      "order": 26,
      "era": "browser",
      "title": "Why does the same code behave differently after a port?",
      "question": "Why does the same code behave differently after a port?",
      "explanation": "Numeric types, overflow, rounding and command semantics form a compatibility contract. Similar syntax alone does not prove equivalent behaviour.",
      "lab": {
        "route": "lesson:types",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "b217585d748b47dad6e5d1b97bf250ad195b96c1254a6335f2acb323f615a867"
      },
      "modify": "Run a type-boundary example and record exact results in both available engines.",
      "evidence": "Separate an observed agreement from untested native behaviour.",
      "tags": [
        "migration",
        "types"
      ],
      "prerequisites": [
        "arch-01"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-27",
      "order": 27,
      "era": "browser",
      "title": "Why do phone controls change the game?",
      "question": "Why do phone controls change the game?",
      "explanation": "Touch controls have different placement, reach and feedback from keys. Interface changes can alter the practical difficulty.",
      "lab": {
        "route": "lesson:input",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "4c30fdf74a87598bd3c7a9082aec6f2fea49cbeb828ded0ed26f6f11e0c9877f"
      },
      "modify": "Change the follow response and compare three touch targets.",
      "evidence": "Record response, occlusion and ability to perform simultaneous actions.",
      "tags": [
        "touch",
        "accessibility"
      ],
      "prerequisites": [
        "arch-26"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-28",
      "order": 28,
      "era": "browser",
      "title": "Why can an old result overwrite a new one?",
      "question": "Why can an old result overwrite a new one?",
      "explanation": "Asynchronous work needs an identity for the request it belongs to. A work budget is not itself a worker or a concurrency protocol.",
      "lab": {
        "route": "lesson:budget",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "7c4413b1d65e631a9194a6d6926156543338c46a0773c1ccd61568d9c1408211"
      },
      "modify": "Start with chunked work, then sketch generation IDs for two overlapping requests.",
      "evidence": "Specify a late reply that must be discarded and explain why.",
      "tags": [
        "workers",
        "concurrency"
      ],
      "prerequisites": [
        "arch-27"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-29",
      "order": 29,
      "era": "browser",
      "title": "How do we know a restoration is faithful?",
      "question": "How do we know a restoration is faithful?",
      "explanation": "Faithfulness requires a stated reference, controlled inputs and observable results. Preserving a bug and fixing it can both be valid when labelled.",
      "lab": {
        "route": "lesson:debug",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "686cb02ed64b97370b64c9bcd592e081aa4c32130fa7896b27888ecd48e1ca9e"
      },
      "modify": "Write one expected behaviour and keep original and changed versions.",
      "evidence": "Compare state, visual output and sound; label any untested platform.",
      "tags": [
        "restoration",
        "evidence"
      ],
      "prerequisites": [
        "arch-28"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    },
    {
      "id": "arch-30",
      "order": 30,
      "era": "browser",
      "title": "How do we turn a fix into history?",
      "question": "How do we turn a fix into history?",
      "explanation": "A preserved change needs its before and after versions, reason, evidence and limitations. An undo stack illustrates ordered edits but is not an archival system.",
      "lab": {
        "route": "lesson:stack",
        "kind": "modern-teaching-model",
        "label": "Open editable Academy experiment",
        "editing": "guided ethosBASIC values or marked line range; full source read-only",
        "starterSHA256": "a85656b5aae7a4bd5ef6941772e0f370299d9f3daf6b41032ecd1027a4c44d02"
      },
      "modify": "Record one experiment as a before/after change with a rationale.",
      "evidence": "Have another learner reproduce it from the saved files and instructions.",
      "tags": [
        "provenance",
        "versioning"
      ],
      "prerequisites": [
        "arch-29"
      ],
      "sourceIds": [],
      "historicalClaimStatus": "teaching-comparison-not-a-claim-of-invention",
      "durationMinutes": 20
    }
  ],
  "researchGaps": [
    {
      "id": "pod-rescue",
      "title": "Pod Rescue",
      "status": "original-source-not-located",
      "needed": [
        "original listing or ETO",
        "platform and approximate creation date",
        "author recollection recorded separately from evidence",
        "permission and resource provenance"
      ],
      "note": "Do not equate Pod Rescue with Event Rescue."
    },
    {
      "id": "gods-native",
      "title": "GODS and native ethosBASIC",
      "status": "separate-archives-not-ingested",
      "needed": [
        "repository snapshots",
        "original build instructions",
        "compiler and runner versions",
        "dated releases"
      ]
    },
    {
      "id": "history",
      "title": "Thirty-plus years of development",
      "status": "author-reported-coverage-not-yet-verified",
      "needed": [
        "dated originals",
        "version pairs",
        "contemporaneous manuals",
        "author interviews"
      ]
    }
  ],
  "miningQuestions": [
    "Which source revisions changed collision behaviour?",
    "Which modern lessons have original artefacts?",
    "Which changes improved performance without changing outcomes?",
    "Which historical dates are unverified?",
    "Which preserved resources are needed to reproduce a game?"
  ],
  "lineage": [],
  "changes": [],
  "observations": []
}
