FOUR IN A ROW

JavaScript edition

YOU0
ME0
DRAWN0

Use , / < and . / > to select a column, then Space to drop. You can also click a column. The computer scans across the columns while thinking, as in the original. When facing two immediate threats it panics and moves between both positions. If it gives up, the display melts before announcing your win. The starting player alternates each game.

Computer diagnostics (original BASIC variables)
No computer move yet.

Game engine retains the original 1–42 board positions, marker values 1 and 5, N(C) column pointers and T() move-evaluation sums. The computer cursor replays its search across the top of the board before placing a marker.

Ported by Glenn Littleford with the help of ChatGPT, 2026, from the original Microbee Microworld Basic code, by Bruce Pratt, April 1982