How many possible combinations of 9x9 games are there?

General conversations about Go belong here.
Post Reply
Alberich
Dies with sente
Posts: 92
Joined: Sun Jun 17, 2012 11:05 am
GD Posts: 0
IGS: Alberich
Online playing schedule: IGS most weekdays
Been thanked: 1 time

How many possible combinations of 9x9 games are there?

Post by Alberich »

I know that the total number of moves in a 19x19 game of go is calculated to be 10x10 into 170th power. But can anyone tell me what this number is for 9x9 go games? Thanks.
User avatar
Joaz Banbeck
Judan
Posts: 5546
Joined: Sun Dec 06, 2009 11:30 am
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
Location: Banbeck Vale
Has thanked: 1080 times
Been thanked: 1434 times

Re: How many possible combinations of 9x9 games are there?

Post by Joaz Banbeck »

Alberich wrote:I know that the total number of moves in a 19x19 game of go is calculated to be 10x10 into 170th power. But can anyone tell me what this number is for 9x9 go games? Thanks.
If we are just plonking stones on a board with no regard for captures, the the total number of possible sequences of doing so is 81 possibilities for the first move, then 80 possible places to play the second move, the 79 for the third, etc, or 81! That is about 5.8 x 10^120.

On the first move, due to rotation and flipping, there are really only 15 unique moves, not 81, so the refined guess is about 10^120.

Then there are captures, and that opens up a whole bunch of new possibilities. I have no idea how to calculate that,
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: How many possible combinations of 9x9 games are there?

Post by RobertJasiek »

Search for John Tromp's research, else read the rec.games.go Rules FAQ, section 5.12:

http://home.snafu.de/jasiek/rulesfaq.txt
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: How many possible combinations of 9x9 games are there?

Post by HermanHiddema »

There is a good article about this on wikipedia:

http://en.wikipedia.org/wiki/Go_and_mathematics

For even more details, you can follow the links to the referenced sources there.
Alberich
Dies with sente
Posts: 92
Joined: Sun Jun 17, 2012 11:05 am
GD Posts: 0
IGS: Alberich
Online playing schedule: IGS most weekdays
Been thanked: 1 time

Re: How many possible combinations of 9x9 games are there?

Post by Alberich »

I looked through the wikipedia article and it says "3x10x38th power". I take it to mean it's 30 plus 38 zeroes following. So a 9x9 board game of go has less possible combinations than chess, which I think is 10x120th power. A 13x13 board of go is 10x89th power while the standard 19x19 board version is 10x170th power. That would be 10 followed by 170 zeroes. So 19x19 go beats western chess by 50 zeroes. I love the fact that computers won't be able to solve 19x19 go.
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: How many possible combinations of 9x9 games are there?

Post by RobertJasiek »

Numbers depend on the used ruleset.
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: How many possible combinations of 9x9 games are there?

Post by HermanHiddema »

Alberich wrote:I looked through the wikipedia article and it says "3x10x38th power". I take it to mean it's 30 plus 38 zeroes following. So a 9x9 board game of go has less possible combinations than chess, which I think is 10x120th power. A 13x13 board of go is 10x89th power while the standard 19x19 board version is 10x170th power. That would be 10 followed by 170 zeroes. So 19x19 go beats western chess by 50 zeroes. I love the fact that computers won't be able to solve 19x19 go.
No, you are confusing number of possible board positions with number of possible games. Games are sequences of positions.

On 19x19, there are about 10170 possible positions, but a rough estimate of 361! gives us about 10768 possible games.

On 9x9, there are 1038 possible positions, and a rough estimate of 81! gives us about 10120 games.

Chess has about 1043 positions, and a rough estimate of about 10120 games. (See Shannon number)

Those numbers on possible positions are pretty accurate. The numbers on possible games are really only rough estimates. Tromp and Farnebäck have proven that it is theoretically possible to play a game of at least 1048 moves without repeating any position, putting a lower bound on the game tree complexity of about 1010 48. That is a 1 with 1048 zero's behind it...

Of course, playing a game with 1048 moves is practically impossible. Suppose we built a computer that is capable of playing 1,000,000,000,000 (1 trillion) moves per second. It would still take that computer over 1,000,000,000,000,000,000 times the current age of the universe (which is about 15 billion years) to finish the game...
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: How many possible combinations of 9x9 games are there?

Post by RobertJasiek »

HermanHiddema wrote: rough estimate [...] rough estimate
[...] at least 1048
Since those are related to estimating lower bounds, theoretically possible numbers can be very much greater.

To (hopefully) get more practical numbers, one can ask for the minimally necessary size of a tree that explains all choices necessary for perfect play. Anyone..?:)
RobertJasiek
Judan
Posts: 6273
Joined: Tue Apr 27, 2010 8:54 pm
GD Posts: 0
Been thanked: 797 times
Contact:

Re: How many possible combinations of 9x9 games are there?

Post by RobertJasiek »

HermanHiddema wrote:the current age of the universe (which is about 15 billion years)
13.7 billion years.
User avatar
Joaz Banbeck
Judan
Posts: 5546
Joined: Sun Dec 06, 2009 11:30 am
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
Location: Banbeck Vale
Has thanked: 1080 times
Been thanked: 1434 times

Re: How many possible combinations of 9x9 games are there?

Post by Joaz Banbeck »

RobertJasiek wrote:...one can ask for the minimally necessary size of a tree that explains all choices necessary for perfect play. Anyone..?:)
The size of that tree depends heavily on the evaluation algorithm used to determine its leaves. In the most extreme case, one could let the tree grow so that all leaves are finished games, and a counting algorith is used. In such a case, the majority of the tree would be games that a 10k could evaluate as clearly decided.
A good evaluation algorithm could take several orders of magnitute off of that tree.
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: How many possible combinations of 9x9 games are there?

Post by HermanHiddema »

RobertJasiek wrote:
Since those are related to estimating lower bounds, theoretically possible numbers can be very much greater.

To (hopefully) get more practical numbers, one can ask for the minimally necessary size of a tree that explains all choices necessary for perfect play. Anyone..?:)
Upper bound on the size of the game tree is 1010 170
User avatar
HermanHiddema
Gosei
Posts: 2011
Joined: Tue Apr 20, 2010 10:08 am
Rank: Dutch 4D
GD Posts: 645
Universal go server handle: herminator
Location: Groningen, NL
Has thanked: 202 times
Been thanked: 1086 times

Re: How many possible combinations of 9x9 games are there?

Post by HermanHiddema »

RobertJasiek wrote:
HermanHiddema wrote:the current age of the universe (which is about 15 billion years)
13.7 billion years.
Which is about 15 billion years.
Post Reply