Finally Calculated: All the Legal Positions In a 19x19 Game of Go (github.io)
Reader John Tromp points to an explanation posted at GitHub of a computational challenge Tromp coordinated that makes a nice companion to the recent discovery of a 22 million-digit Mersenne prime. A distributed effort using pooled computers from two centers at Princeton, and more contributed from the HP Helion cloud, after "many hiccups and a few catastrophes" calculated the number of legal positions in a 19x19 game of Go. Simple as Go board layout is, the permutations allowed by the rules are anything but simple to calculate: "For running an L19 job, a beefy server with 15TB of fast scratch diskspace, 8 to 16 cores, and 192GB of RAM, is recommended. Expect a few months of running time." More: Large numbers have a way of popping up in the game of Go. Few people believe that a tiny 2x2 Go board allows for more than a few hundred games. Yet 2x2 games number not in the hundreds, nor in the thousands, nor even in the millions. They number in the hundreds of billions! 386356909593 to be precise. Things only get crazier as you go up in boardsize. A lower bound of 10^{10^48} on the number of 19x19 games, as proved in our paper, was recently improved to a googolplex.
(For anyone who wants to double check his work, Tromp has posted as open source the software used.)
Can we consider the traditional game of Go solved, then? And how about chess, what about calculating 32-piece EGTBs?
Stupidity is an equal opportunity striker.
Fellow slashdotter Bill Dog
It would help to have more explanation of why a 2x2 board has more than 3^4 possible permutations.
slashdot is incompent as usual
Um, there are not billions of games on a 2x2 board. This site has the complete list of legal (and illegal) placements on a 2x2 board.
http://senseis.xmp.net/?PositionsAndGamesOn2x2
Spotted a mistake in the code on line 12... sorry, you have to start over, fellas.
How about Tic Tac Toe?
Error in the title. They most certainly did not calculate all legal positions, only the exact *number* of legal positions. Which is a *very* different thing.
Since they published the s/w, he proposes one use it for a server benchmark.
Counting sheep is good for going to sleep, but I don't thing counting valid go board states is going to work for that because there is too much thinking involved.
Very interesting, nerdy work, but somehow
I don't see how the world is better because we know how many possible board positions there are in a size 19 Go board.
What am I missing?
Perhaps if he had done size 20 instead?
Way to solve a non-problem.
They haven't calculated all the legal positions. They've counted all the legal positions.
https://youtu.be/umDCQNTkSCk
Is it just my observation, or are there way too many stupid people in the world?
wow. 10^48 huh?
that finally filled up my zpool.
what am I going to do with the other 999 quattuordecillion 999 tredecillion 999 duodecillion 659 undecillion 717 decillion 633 nonillion 79 octillion 61 septillion 536 sextillion 536 quintillion 625 quadrillion 392 trillion 568 billion 231 million 788 thousand and 544 bits now?
thanks alot, Tromp.
you big jerk.
... But only 85 legal positions, with many being mirroring positions.
Placing two stones of the same color over the diagonal of this board leads to an absorbing state.
Any other state can be reset by either black or white to a single stone.
This is assuming the players are not playing with the rule of no repetition (but with the rule of no suicide).
For clarity, see the rulebook.
systemd is not an init system. It's a GNU replacement.
I wonder how many megawatts such a calculation takes?
Black stones, white stones, and ties? Or did they take into account that Black moves first?
2.081681994 * 10^170 = the number of legal positions.
Yet by some accounts, it is estimated that the there are between 10^78 to 10^82 atoms in the known, observable universe.
Makes for one heck of a tracking number.
Has anyone checked the sky? I hope that overhead the stars aren't, without any fuss, going out.
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
Apk my dear chap, you look so much better without your rant hat on.
Looking into the paper, we see that with L(2,2)=81-16-8=57 various positions that are symmetric transforms of each other are considered distinct. For example, on sees this in the upper right and lower left corners of Figure 1. Now, it's true that superko will break some of that symmetry, but not all of it. How much complexity disappears with more accounting for symmetry?
Go is a game played on a board with 20 x 20 = 400 intersections. That's where the pieces are placed, not in the center of the 361squares. I suppose I now know why most of my software is so crappy - nobody checks their assumptions. (There were 90 comments already when I wrote this!) Even when the evidence is staring them in the face, visible in every photo of a Go game, ever. What's gonna happen next, Republicans exhibiting climate denial or something crazy like that?
See subject: Linear algebra permutation determinant functions are a likely best bet to calculate checkers or chess which are also matrices: Matrix math is what it does & it's even called that @ times...
I don't *think* that factorial permutations like 3x3 matrix = 9! = 9x8x7x6x5x4x3x2 (screw 1) = 362880 will cut it due to pieces movements in checkers/chess... & that's not right I wager. ...but MIGHT be close & on the 'right track' (might as well be a million miles away though, close doesn't cut it) to the answer, but not enough!
(2 'pieces'/players in tictactoe with single movements is simpler than checkers and certainly so for chess with movement variations galore, especially damn knights - so again, I wager it's on the right track, but not completely right either...) ... imo @ least, but not REAL strong in math here...
(KGIII a PhD in mathematics outta RIT & a /. registered users member here is, ask him - bet HE knows)
"No one can be TOLD what the matrix is - you have to see it for yourself..." - APK
(Does "to right & down 'salute'" which linear algebra folks WILL understand the meaning of... lol!)
APK
P.S.=> Of course, in checkers it's much simpler than chess for determining it - the movements are "set in stone" for pieces (except 'doubled up' ones) - in chess they vary widely by pieces abilities (especially the damn knights)...
Chess = my all-time favorite game - it's more-or-less classic battlefield & field general tactics "gamified" imo - that damn "GO" is more like vietnam tactics (I gauge folks' intelligence using it in fact quite often, assuming they know how to play fairly well @ least, first)... apk