HomeAlgorithms & AIBusy Beaver & the Halting Problem (2D)

Busy Beaver & the Halting Problem — 2D

Run real Turing machines on a 2D tape strip, watch their state-transition graph light up transition by transition, and see why no algorithm can decide in general whether an arbitrary program halts.

Algorithms & AI2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-omnipotent-ai ↗ Open standalone

A supposedly "omnipotent" AI would still need to answer a very small question correctly: given an arbitrary program, will it ever stop running? This 2D version runs real Turing machines — including provably-optimal "busy beaver" tables — step by step on a scrollable tape strip, with a live state-transition graph and a ones-on-tape history graph alongside it, so you can watch the mechanism directly: a state, a read/write head, and a lookup table. Switch to the trivial non-halting machine and you can watch it run forever without ever being able to prove, from observation alone, that it won't stop on the very next step. That gap is not an engineering limitation — Alan Turing proved in 1936 that no algorithm can decide halting for every machine, and the busy-beaver numbers above show just how explosively the true answer can hide even inside machines with only four states.

⚙ Under the hood

Run real Turing machines — including provably-optimal 'busy beaver' tables — step by step on a scrollable 2D tape strip, watch a live state-transition graph light up edge by edge, and see first-hand why no algorithm, however powerful, can decide in general whether an arbitrary program will ever halt.

turing machinehalting problembusy beavercomputabilityundecidabilityalgorithms

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)