Play the hosted demo · Watch the working Twitch demo

The playable browser rehearsal needs no login. The video shows actual Twitch chat driving the live game.

Inspiration

A poll ends. Its consequences should not. We wanted Twitch chat to govern a world together, disagree with its captain, and see the future it abandoned.

What it does

FORK//LIVE is a four-chapter, chat-controlled island story. A storm cuts the mainland cable. A ferry fails to arrive. Night falls. A recovery window opens. The island carries its fuel, battery, water and resilience from one crisis into the next.

Viewers type !solar or !diesel. Both forecasts start from the same resources and weather. Each participant gets one ballot. The majority binds; the captain has one explicit veto for the whole expedition. Between ballots, unique !crew participants can reduce the next crisis's water demand by 10%.

Then chat can ask !echo 1–4. The Living Echo reverses one recorded decision and replays the exact later crises, conservation and strategies. It cannot change the actual island. In our recorded DDDS expedition, reversing the first decision preserves 23.4 litres of fuel, but ends with lower resilience. The alternative is a trade-off worth discussing.

The animated broadcast stage shows the storm, rotating turbines, pumping, energy flow, fuel consumption and the island's changing reserves. Auto Host can pace a show and follow its mandate. A separate public browser rehearsal uses the same engine and clearly labels its simulated audience DEMO.

How we built it with Codex

Codex built the TypeScript simulation, validated campaign history, React/SVG stage, protected Node control room, Twitch EventSub WebSocket integration, persistence and regression checks. It also investigated real browser failures and helped record and verify the working Twitch integration.

The optional AI Director selects from engine-computed futures and writes commentary. Native OpenAI GPT-OSS on Amazon Bedrock produced an actual verified director cue. A private ElevenLabs host answered typed questions with voice, compared an Echo against the engine, and refused a request to change the game or reveal a key. General questions are supported too. Read-only MCP tools expose fictional forecasts and replays to an AI client.

The engine owns all numbers and decisions. AI commentary has no game-control authority. Provider secrets stay server-side; persistent reservations, fixed expiry dates and emergency STOP bound the approved grant usage.

Main Codex build session: 01a19b1e-ac4f-77e3-a958-35ec6fa4abb5.

Challenges and what we learned

The difficult part was preserving causality during a live show. Conservation must affect both futures equally. A captain cannot silently spend another veto. An earlier fork must inherit the same later events. Restoring a save must reproduce every transition before accepting it.

Real Twitch and browser testing found failures that mocked tests could not establish alone, including stale commands and a browser connection-limit deadlock. A portable deterministic engine, explicit input provenance and validated history made those failures reproducible.

What we verified

The demo shows actual authenticated chat on culltron_, tested with one authorized broadcaster account. Four crews, four ballots, the single veto and a complete expedition were observed; this is not a multi-viewer load test. The ending supplies 86% of demanded electricity and 96% of demanded water. The video distinguishes this live integration from the automatic browser DEMO.

The repository includes source, original assets, setup instructions, tests and sanitized evidence. The public rehearsal needs no provider key. The island is an explicitly fictional game model.

What's next

Playtest with an independent community, add more original crisis arcs, and tune accessibility and pacing from actual streamer feedback while keeping the engine and AI authority separate.

Built With

Share this project:

Updates

Submission history