MindBlown: Chess two brains and an explorer · every move from the starting position

Every move from the starting position.

This page is the index. The Network tab shows both brains on one screen in the orbit layout — the starting position at the centre, the 20 first moves on the first ring, the 400 replies on the second, the Openings hub and the 500 ECO codes beyond (a digest: each neuron keeps up to 2 synapses per brain there; open a brain for the full entry). 4,865,609 games played out and verified · 5,362 distinct positions at ply 3 · 3,865 named lines.

All possible games of chess cannot be drawn — there are about 10120 of them — so this network maps the tree as far as it can be written out and counts the rest. The Chess brain puts the starting position at the centre, every one of White's 20 first moves on the first ring and all 400 two-move positions on the second; each of those lists every legal third move (all 8,902 three-ply games) and carries its exact count of games and checkmates to ply 5, re-counted here and matched against the published perft table. The Openings brain files the 3,865 named lines of the Lichess list under their ECO codes — press G there for the five volumes as chromosomes. The Explorer below walks the tree to any depth. 972 neurons, 6,928 synapses in all.

Chess

Chess

the game tree: the starting position at the centre, all 20 first moves, all 400 replies, every third move listed, the counts to ply 15 and the rules.

451 neurons3,039 synapses12 sources
Openings

Openings

every named opening line in the Lichess list, filed under its ECO code in five volumes; G reads the volumes as chromosomes.

521 neurons3,889 synapses8 sources
Explorer

Explorer

walk the tree to any depth: every legal move at every position, the games below it counted live, named positions marked.

live · no limit on depth

Explorer

Click a move (or a piece, then a square) to walk the tree. At every position it lists every legal move and counts the games below it; positions on the brain's first two rings link to their neuron, named positions to their ECO code.

Starting position

The tree, ply by ply

A ply is one move by one side. Games are the paths through the tree; positions merge the paths that reach the same board. Plies 1–5 are re-counted by this build (✓); the rest are on record from the Chess Programming Wiki perft table and OEIS A048987, A083276 and A079485.

PlyGamesDistinct positionsCheckmates
Ply 120200✓ counted here
Ply 24004000✓ counted here
Ply 38,9025,3620✓ counted here
Ply 4197,28172,0788✓ counted here
Ply 54,865,609822,518347✓ counted here
Ply 6119,060,3249,417,68110,828
Ply 73,195,901,86096,400,068435,767
Ply 884,998,978,956988,187,3549,852,036
Ply 92,439,530,234,1679,183,421,888400,191,963
Ply 1069,352,859,712,41785,375,278,0648,790,619,155
Ply 112,097,651,003,696,806726,155,461,002362,290,010,907
Ply 1262,854,969,236,701,747—8,361,091,858,959
Ply 131,981,066,775,000,396,239—346,742,245,764,219
Ply 1461,885,021,521,585,529,237——
Ply 152,015,099,950,053,364,471,960——

The 20 first moves

Each row opens its neuron on the Chess brain. Counts are games that continue from the move; named lines from the Lichess chess-openings list.

MoveRepliesGames by ply 3by ply 4by ply 5Mates by ply 5Named lines
1. e42060013,160405,3851062,032
1. e32059913,134402,9881096
1. d42056012,435361,790121,333
1. d32053911,959328,51185
1. c4204419,744240,08212202
1. Nc3204409,755234,656829
1. Nf3204409,748233,4910109
1. c3204209,272222,861121
1. h4204209,329218,82989
1. a4204209,329217,83287
1. g3204209,345217,210821
1. b4204219,332216,145827
1. b3204209,345215,255815
1. g4204219,328214,048420
1. Na3204008,885198,57284
1. Nh3204008,881198,50283
1. f4204018,929198,4731027
1. a3203808,457181,04685
1. h3203808,457181,04484
1. f3203808,457178,88926