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
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.
Openings
every named opening line in the Lichess list, filed under its ECO code in five volumes; G reads the volumes as chromosomes.
Explorer
walk the tree to any depth: every legal move at every position, the games below it counted live, named positions marked.
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.
| Ply | Games | Distinct positions | Checkmates | |
|---|---|---|---|---|
| Ply 1 | 20 | 20 | 0 | ✓ counted here |
| Ply 2 | 400 | 400 | 0 | ✓ counted here |
| Ply 3 | 8,902 | 5,362 | 0 | ✓ counted here |
| Ply 4 | 197,281 | 72,078 | 8 | ✓ counted here |
| Ply 5 | 4,865,609 | 822,518 | 347 | ✓ counted here |
| Ply 6 | 119,060,324 | 9,417,681 | 10,828 | |
| Ply 7 | 3,195,901,860 | 96,400,068 | 435,767 | |
| Ply 8 | 84,998,978,956 | 988,187,354 | 9,852,036 | |
| Ply 9 | 2,439,530,234,167 | 9,183,421,888 | 400,191,963 | |
| Ply 10 | 69,352,859,712,417 | 85,375,278,064 | 8,790,619,155 | |
| Ply 11 | 2,097,651,003,696,806 | 726,155,461,002 | 362,290,010,907 | |
| Ply 12 | 62,854,969,236,701,747 | — | 8,361,091,858,959 | |
| Ply 13 | 1,981,066,775,000,396,239 | — | 346,742,245,764,219 | |
| Ply 14 | 61,885,021,521,585,529,237 | — | — | |
| Ply 15 | 2,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.
| Move | Replies | Games by ply 3 | by ply 4 | by ply 5 | Mates by ply 5 | Named lines |
|---|---|---|---|---|---|---|
| 1. e4 | 20 | 600 | 13,160 | 405,385 | 106 | 2,032 |
| 1. e3 | 20 | 599 | 13,134 | 402,988 | 109 | 6 |
| 1. d4 | 20 | 560 | 12,435 | 361,790 | 12 | 1,333 |
| 1. d3 | 20 | 539 | 11,959 | 328,511 | 8 | 5 |
| 1. c4 | 20 | 441 | 9,744 | 240,082 | 12 | 202 |
| 1. Nc3 | 20 | 440 | 9,755 | 234,656 | 8 | 29 |
| 1. Nf3 | 20 | 440 | 9,748 | 233,491 | 0 | 109 |
| 1. c3 | 20 | 420 | 9,272 | 222,861 | 12 | 1 |
| 1. h4 | 20 | 420 | 9,329 | 218,829 | 8 | 9 |
| 1. a4 | 20 | 420 | 9,329 | 217,832 | 8 | 7 |
| 1. g3 | 20 | 420 | 9,345 | 217,210 | 8 | 21 |
| 1. b4 | 20 | 421 | 9,332 | 216,145 | 8 | 27 |
| 1. b3 | 20 | 420 | 9,345 | 215,255 | 8 | 15 |
| 1. g4 | 20 | 421 | 9,328 | 214,048 | 4 | 20 |
| 1. Na3 | 20 | 400 | 8,885 | 198,572 | 8 | 4 |
| 1. Nh3 | 20 | 400 | 8,881 | 198,502 | 8 | 3 |
| 1. f4 | 20 | 401 | 8,929 | 198,473 | 10 | 27 |
| 1. a3 | 20 | 380 | 8,457 | 181,046 | 8 | 5 |
| 1. h3 | 20 | 380 | 8,457 | 181,044 | 8 | 4 |
| 1. f3 | 20 | 380 | 8,457 | 178,889 | 2 | 6 |