explaingit

chipmates/criticalwindow

Analysis updated 2026-05-18

1TypeScriptAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

Critical Window is a free browser strategy game where you govern the US or China through an AI race to 2030, with every in-game number either cited to a real source or clearly marked as a design choice.

Mindmap

mindmap
  root((Critical Window))
    What it does
      AI race strategy game
      Sixteen quarterly turns
      Five endings
      Source-backed numbers
    Tech stack
      TypeScript
      pnpm
      Deterministic engine
    Use cases
      Solo or hotseat play
      Education about AI governance
      Offline classroom use
    Values
      No accounts or tracking
      Nonprofit project
      Citation validation build check

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Play a solo or two-player strategy game exploring the tradeoffs of AI capability, safety, and diffusion.

USE CASE 2

Teach students or a classroom about AI governance concepts using a game that runs offline on a school Chromebook.

USE CASE 3

Explore a source-cited debrief that shows where your safety evaluations diverged from the simulated truth.

USE CASE 4

Study or contribute to a deterministic game engine that replays exactly from a shared seed.

What is it built with?

TypeScriptpnpm

How does it compare?

chipmates/criticalwindow0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Playable instantly at criticalwindow.org with no account, running locally for development needs pnpm install and pnpm dev.

Code is AGPL-3.0 (modifications shared as a network service must be open-sourced), game content is CC BY-SA 4.0 (share and adapt with attribution, alike license).

In plain English

Critical Window is an open source, browser-based strategy game about the global race to build advanced AI. You take charge of either the United States or China through the year 2030, splitting your effort each quarter between building capability, keeping systems safe, and spreading the technology, while a rival country you can only partly observe makes its own moves. A single playthrough takes about 20 to 40 minutes, works on phones as an installable web app, and keeps working offline once it has loaded. The game is built around sixteen quarterly turns, each ending with events such as memos with no easy answers or incidents that reveal problems your own safety reports had smoothed over. There are five possible endings, and losing comes with a debrief that compares what your safety evaluations said each quarter against what was actually true in the simulation. The game states that every number used in it is either backed by a cited real-world source or clearly labeled as a design choice, and a build check called pnpm validate fails if any number in the game's data is missing a citation. The most uncertain questions in the game, like how hard it is to keep an AI system aligned or how fast its capabilities grow, are not fixed to single numbers. Instead they are set as ranges tied to a worldview you choose at the start, with a hidden seeded roll fixing the actual truth for that specific playthrough. The project is honest that its validation can confirm a citation exists but cannot itself confirm that citation truly supports the number, which is why it invites players to open an issue and challenge any number they believe is wrong. Critical Window is a nonprofit project from ChipMates, a German nonprofit, built by one maintainer with heavy AI assistance. It collects no accounts and no tracking data, and the code is licensed under AGPL-3.0 while the game's text, data, and art are licensed under CC BY-SA 4.0.

Copy-paste prompts

Prompt 1
How do I clone and run Critical Window locally with pnpm install and pnpm dev?
Prompt 2
Explain how Critical Window's pnpm validate command enforces that every game number has a cited source.
Prompt 3
Walk me through the five possible endings in Critical Window and what triggers each one.
Prompt 4
What does it mean that Critical Window's engine is a pure deterministic fold, and why does that matter for replays?
Prompt 5
How can I challenge a number in Critical Window's data if I think its source doesn't support it?

Frequently asked questions

What is criticalwindow?

Critical Window is a free browser strategy game where you govern the US or China through an AI race to 2030, with every in-game number either cited to a real source or clearly marked as a design choice.

What language is criticalwindow written in?

Mainly TypeScript. The stack also includes TypeScript, pnpm.

What license does criticalwindow use?

Code is AGPL-3.0 (modifications shared as a network service must be open-sourced), game content is CC BY-SA 4.0 (share and adapt with attribution, alike license).

How hard is criticalwindow to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is criticalwindow for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.