Skip to the game

Lab record 02 · Negamax + alpha-beta

Connect Four

Connect Four is a solved game — the first player wins by opening in the centre. This engine searches by iterative deepening with alpha-beta pruning, a Zobrist transposition table and killer-move ordering. When it says “forced win in 5”, that is proven, not guessed.

Your move

Click a column, or press 17 · U undo · R new game Tap a column to drop a disc