Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tyingq
· 2y ago · 0 comments
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-...
Comments
[–]
penwielder
2y ago
This 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
2y ago
Ah, you're right. I had a bug in the code to detect diagonal wins. With that fixed, I get 5,478 unique reachable boards.
[–]
munificent
2y ago
Huh, dunno. Probably a dumb bug in my hacky script.