🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4586

chess positions

#4586
From: Pascal Jasmin
Date: Sun, 19 Feb 1995 04:43
49 lines
2666 bytes
-> >>till now it is absolutely impossible to count the
-> >>possible positions in chess. I heard once that there
-> >>are more posibilities than particles in space.

Until now, I've never considered this question.  I wouldn't say its
impossible though, however lots of conditional probabilities.

For a simple approximation,

There are always at least 32 blank squares. (64! / 32! arrangements)
There are always at least 2 pieces (if youdon't count king capture as
mate)
Each remaining square (exeptions for 8th and 1st rank) can have one of
13 piece values (including empty).

Only one king for each side is allowed.  Up to 8 pawns, and 9
Queens, Rooks,... Here are some calculations:

After the 32 squares with possible pieces are determined, White King can
be in any one of 32, black king in 1 of 31.

Each remaining square can have 1 of 11 values on it.  You can handle the
fact that pawns can't be on certain rows probabilistically.  1 quarter
of the squares have this restriction. 1/4 of the time 9 pieces are
allowed, 3/4 11 pieces.  Therefore use 10.5 possible values per
remaining square.

Again, probabilistic reduction is required to deal with the maximum
piece count restriction.  Of the remaining 30 squares to be optionally
filled, think of it as first filling slots that will then be placed on
the board.

The best way to do this to take the 8 pawns (and their promoted
versions) and 7 pieces for each side as unique, and then adjust for
transposition.  So instead of 10.5 (11) possible values for each
square, use 30 and then divide the end result by

8 * 8 (black and white pawns) *
2 ^3 = 8 (black and white R,B, and N)

= 8* 64

So finally,

64! / 32! *
32 * 31
* (30 ^ 30) / (8*64)

All of this * 30! because each piece can be blank
Technical Details
Message-ID: <60.1659.4070.0N1D0C51@canrem.com>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.belwue.de!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!news.dfn.de!news.dkrz.de!news.rrz.uni-hamburg.de!unibwh.unibw-hamburg.de!Germany.EU.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!hookup!news.mathworks.com!uunet!uunet.ca!uunet.ca!portnoy!canrem.com!pascal.jasmin
References: <1995Feb13.115453.2670@frontier.tno.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,c83d60506450e005,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1995-02-18 20:43:00 PST
Newsgroups: gnu.chess
Subject: chess positions
From: pascal.jasmin@canrem.com (Pascal Jasmin)
Path: arc1-ca.pugleaf.net!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.belwue.de!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!news.dfn.de!news.dkrz.de!news.rrz.uni-hamburg.de!unibwh.unibw-hamburg.de!Germany.EU.net!howland.reston.ans.net!spool.mu.edu!bloom-beacon.mit.edu!hookup!news.mathworks.com!uunet!uunet.ca!uunet.ca!portnoy!canrem.com!pascal.jasmin
Distribution: world
Message-ID: <60.1659.4070.0N1D0C51@canrem.com>
References: <1995Feb13.115453.2670@frontier.tno.nl>
Date: Sat, 18 Feb 95 23:43:00 -0500
Organization: CRS Online  (Toronto, Ontario)
Lines: 49