I’m not saying it’s impossible but it would mean rethinking what we think it means to ‘solve’ a game. As it stands now chess is solved with 7 pieces on the board. It we are solving with the same method there literally isn’t enough matter in the universe to even come close to storing the information—you certainly can’t store a chess position with a single atom. The only way this works is with a breakthrough in quantum computing or something where we can access information without storing it in the traditional sense.
You can skip that by comparing the board state to every possible board state with if else if until you find the current board state instead of making new branches for every possible sequence of moves.
I mean, sure, the universe will probably end before the massive if else if finishes, but at least it's less code.
also how many moves are allowed in these calculations? Most chess games have move limits, and many 'positions' will be impossible without huge move counts
189
u/JonIsPatented Apr 10 '23
2 × 1046 possible board states, yes.