lechmazur/ChessCounter
View on GitHub ↗ ★ 14 C++
Estimate the number of legal chess positions
7 mentions on Hacker News by 5 people: 1 story, 6 comments · first 2020-12-24 · latest 2025-09-26
20082026
-
…chess board? update: article says there are approximately 8.7x10^45 reachable chess positions and https://github.com/lechmazur/ChessCounter says this is an upper bound. (this would correspond to about 153 bits)
comment by amelius · 2025-09-26 · in No reachable chess position with more than 218 moves -
…and is not sampling based. In any case it will be easier to continue this discussion at https://github.com/lechmazur/ChessCounter/issues/1
comment by tromp · 2024-04-05 · in Los Alamos Chess -
…24 pieces. For regular chess, I've calculated that there are most legal positions for 29 pieces: https://github.com/lechmazur/ChessCounter?tab=readme-ov-file...
comment by zone411 · 2024-04-02 · in Los Alamos Chess -
…and the move to achieve it in each. Another user computed an upper bound at 8.7E+45 positions: https://github.com/lechmazur/ChessCounter . I pointed out that our planet has about 1E+50 atoms. And we can further compress the database by…
comment by altvali · 2021-01-13 · in The neural network of the Stockfish chess engine -
…close to being solved. I made a new estimate recently at there are about 8.7E+45 unique positions: https://github.com/lechmazur/ChessCounter . You don't need to analyze all of them to generate the proof but it's still far beyond our…
comment by zone411 · 2021-01-13 · in The neural network of the Stockfish chess engine -
…a weekend project to calculate the number of legal chess positions and there are about 8.8E+45: https://github.com/lechmazur/ChessCounter . For people considering making a chess program, take a look at this message board…
comment by zone411 · 2020-12-24 · in Building My Own Chess Engine