[Math] How to find the amount of possible piece configurations in the game of Checkers/Draughts

chessboardcombinationsgame theory

All I know is that factorials are involved, I hope someone here can help me out.

These are the restrictions:

  • 32 habitable squares
  • Each square can be in one of five states: [white man, black man, white king, black king, empty]
  • 12 is the maximum amount of any color of pieces (white men + white kings <= 12)

The calculation doesn't have to be absolutely perfect, symmetries can be ignored, I also want to figure out different kinds of combinations (for example given how long a game lasts on average how many different board positions one can expect etc…) so a general explanation of the formula/reasoning to be used would be preferred to the direct answer, although both will be appreciated.

Best Answer

Let $w,b$ be integers with $0 \le w \le 12$ and $0 \le b \le 12$.

Then for configurations having exactly $w$ white pieces and $b$ black pieces, the number of combinatorially legal configurations (even if not reachable by the rules of the game) is

$$\binom{32}{w}\binom{32-w}{b}2^{w+b}$$

Explanation:

  • $\large{\binom{32}{w}}$ is the number of ways to place $w$ white pieces on an empty board.$\\[14pt]$
  • $\large{\binom{32-w}{b}}$ is the number of ways to place $b$ black pieces on the board, given that $w$ positions are already occupied by white pieces.$\\[8pt]$
  • Each placed piece can be either a King or a non-King. Thus, for each piece, there are two choices, so we get a factor of $2^{w+b}$.

Hence, the total number of combinatorially legal configurations, for all possible values of $w,b$ is

$$\sum_{b=0}^{12}\sum_{w=0}^{12} \binom{32}{w}\binom{32-w}{b}2^{w+b}$$

which equals $2,308,487,701,529,742,077,825$ or approximately $2.3\times10^{21}$.

Of course, this is just an upper bound, since some of the above configurations, though combinatorially legal, can't actually be achieved by a sequence of legal moves, based on the standard starting positions.

As regards your question about the length of an "average" game, if two players have fixed strategies, all games they play will have the same length (and the same outcome), so in that context, average length is not very meaningful.

On the other hand, for the sake of exploration, suppose both players make random moves, consistent with the rules of the game (i.e., if jumps are forced, they must make such a move). Assume also that a player always converts a piece to King whenever it reaches the last rank. Now the concept of average length is meaningful, but the exact average, while it exists theoretically, is surely intractable to actually compute. Instead, write a program to implement such random games, and then run a simulation, to get an approximate value for the average game length.

Related Question