4 ms·
Might be an interesting exercise to see why some people get 5477, and you're getting 5,620: https://stackoverflow.com/questions/7466429/generate-a-list-of-all-
by tyingq 3y ago
Might be an interesting exercise to see why some people get 5477, and you're getting 5,620:
https://stackoverflow.com/questions/7466429/generate-a-list-of-all-unique-tic-tac-toe-boards https://stackoverflow.com/questions/7466429/generate-a-list-...
- munificent 3y agoHuh, dunno. Probably a dumb bug in my hacky script.
- penwielder 3y agoThis sounded like an interesting puzzle to me. I doubt it's the only way, but I arrive at 5620 if I both count the empty position and leave out detection of diagonal wins.
- munificent 3y agoAh, you're right. I had a bug in the code to detect diagonal wins. With that fixed, I get 5,478 unique reachable boards.
- deleted 3y ago[deleted]