For me the position without captures leading to the maximum of legal moves is the following:
![Image](http://fmjd.org/dias2/save/15293179274.png)
120 legal moves
What is for you the record if you take into consideration the positions with captures?
Hi Gerard,TAILLE wrote:Hi,
For me the position without captures leading to the maximum of legal moves is the following:
120 legal moves
What is for you the record if you take into consideration the positions with captures?
Meanwhile, random generation (with your conditions) already gives us a lower bound: 182. I don't know how to display a board; the FEN is W:WK5,K36,K46:B10,17,18,20,24,33,34,38,41,42Rein Halbersma wrote:Since I'm only interested in the maximum number, I don't have to build a database of these positions, just generate them on the fly. I think it could be computed in a month or so.
And by relaxing the conditions, 251 moves are possible with 4 kings and 14 men: W:WK1,K26,K46,K50:B7,8,11,13,19-21,24,29,30,33,38,41,42Fabien Letouzey wrote:Meanwhile, random generation (with your conditions) already gives us a lower bound: 182. I don't know how to display a board; the FEN is W:WK5,K36,K46:B10,17,18,20,24,33,34,38,41,42
Fabien Letouzey wrote:Meanwhile, random generation (with your conditions) already gives us a lower bound: 182. I don't know how to display a board; the FEN is W:WK5,K36,K46:B10,17,18,20,24,33,34,38,41,42Rein Halbersma wrote:Since I'm only interested in the maximum number, I don't have to build a database of these positions, just generate them on the fly. I think it could be computed in a month or so.
Fabien.
Fabien Letouzey wrote:And by relaxing the conditions, 251 moves are possible with 4 kings and 14 men: W:WK1,K26,K46,K50:B7,8,11,13,19-21,24,29,30,33,38,41,42Fabien Letouzey wrote:Meanwhile, random generation (with your conditions) already gives us a lower bound: 182. I don't know how to display a board; the FEN is W:WK5,K36,K46:B10,17,18,20,24,33,34,38,41,42
Hi,Rein Halbersma wrote:Fabien Letouzey wrote:And by relaxing the conditions, 251 moves are possible with 4 kings and 14 men: W:WK1,K26,K46,K50:B7,8,11,13,19-21,24,29,30,33,38,41,42Fabien Letouzey wrote:Meanwhile, random generation (with your conditions) already gives us a lower bound: 182. I don't know how to display a board; the FEN is W:WK5,K36,K46:B10,17,18,20,24,33,34,38,41,42
Created from https://fmjd.org/dias2/create.php
Because I trusted Rein's pre-analysisTAILLE wrote:why not adding, in your last diagramm some new white kings ?
I only said 3-4 kings because exhaustive enumeration becomes too expensive for up to 18 kingsFabien Letouzey wrote:Because I trusted Rein's pre-analysisTAILLE wrote:why not adding, in your last diagramm some new white kings ?![]()
Fabien Letouzey wrote:Because I trusted Rein's pre-analysisTAILLE wrote:why not adding, in your last diagramm some new white kings ?
But indeed more pieces is better. This one has 407 moves using 8 kings and 14 men: W:WK2,K4,K5,K15,K16,K26,K36,K46:B7,8,11,13,19-21,29-31,33,38,41,42
Is there an automated way to convert FEN to a picture?
I see. Random search suggests around 8 kings and 14 men; that seems nearly the worst case for exhaustive search: about half of the available squares (old memories from the binomial distribution).Rein Halbersma wrote:I only said 3-4 kings because exhaustive enumeration becomes too expensive for up to 18 kingsFor random generation, you can go much further.
It might also be possible to put kings in the middle of the board. I think that the most moves can be gotten if many kings can capture many subsets of the men. Since there can be at most 19 men, the maximum is choose(19,10) or choose(19,9) = 92.378 subsets. If you put men on half of the 32 inner squares, you get choose(16,8) = 12.870 subsets. And that still times the number of kings. Either way, we are not quite at the limitFabien Letouzey wrote:I see. Random search suggests around 8 kings and 14 men; that seems nearly the worst case for exhaustive search: about half of the available squares (old memories from the binomial distribution).Rein Halbersma wrote:I only said 3-4 kings because exhaustive enumeration becomes too expensive for up to 18 kingsFor random generation, you can go much further.
That last board was generated by starting with a "cross" pattern for men (2 crossing diagonals) and putting the remaining men next to kings. These constraints might not be optimal, but they allow easy generation of positions with 400+ moves. Isn't that 3x more than previously believed?
Hi Rein,Rein Halbersma wrote:
The math is pretty easy: a capture victim can only sit in the inner 8x8 board, so 32 squares. You can capture at most 19 men, so you need all binom(32, i) for i = 1 through 19, which is 4 billion positions. Then you put up to 3 or 4 kings on the edges (18 squares), so binom(18, i) for i = 1 through 4, which is 4K positions, so 1.6 10^13, pretty big but comparable to generating 8 pc dbs. If you just fix the number of men to 10 and kings to 3, it's only 52 billion positions.
Hi Fabien,Rein Halbersma wrote:Fabien Letouzey wrote:Because I trusted Rein's pre-analysisTAILLE wrote:why not adding, in your last diagramm some new white kings ?
But indeed more pieces is better. This one has 407 moves using 8 kings and 14 men: W:WK2,K4,K5,K15,K16,K26,K36,K46:B7,8,11,13,19-21,29-31,33,38,41,42
Is there an automated way to convert FEN to a picture?