this post was submitted on 29 Jan 2024
415 points (98.4% liked)
AnarchyChess
5192 readers
145 users here now
Holy hell
Other chess communities:
!Chess@lemmy.ml
!chessbeginners@sh.itjust.works
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Literally impossible to code every bosrd state, so forever
The person who downvoted you must not have thought it through.
For comparison to that 10^120^ possible game states, the number of atoms in the universe is only 10^82^ and the amount of time until the "Dark Era" of the universe (after all the stars have died and even all the black holes have decayed via Hawking radiation) is only 10^114^ to 10^117^ seconds. In other words, it really is literally impossible either to build a computer big enough to store all the board states or to write them all down even if you did.
I mean a good program could do a 100 million states/s . So if you could make a computer that lasts until the end of the universe it could go through all of them I guess?
With supercomputers, probably way more, that's just the figure for like a laptop. Plus you could filter out all the states that are symmetric and stuff and lower it by one order of magnitude.
I guess, maybe?
I'm not prepared to speculate on the performance of a computer literally larger than the universe.
that's the most fun type of speculation. No fun speculating over computers that could emulate realistic things like all states of a rubiks cube, cause that's probably already been done.
...hey, wait a second, you pulled a fast one on me with that "100 million states/s" silliness!
I just remembered what the time boundary I was talking about was actually trying to measure: it had nothing to do with the speed of computation; it was the speed of typing in the program code. That's why 1 state per second was a reasonable estimate (if not overly optimistic). If you tried to type in all those
if
s andprint
s manually, that's what would take you longer than the heat death of the universe.Besides, even executing the program can't do 100 million states per second because it only does one state transition and then waits for user input.
Oh I was assuming you'd write another program to create this program, like the "4 billion if's" blog post if you've read it.