Generate random chess position: Difference between revisions
Content added Content deleted
m (reprhasing) |
(precision about the picking of pieces.) |
||
Line 6: | Line 6: | ||
* the kings must not be placed on adjacent squares; |
* the kings must not be placed on adjacent squares; |
||
* there can not be any pawn in the promotion square (no white pawn in the eighth rank, and no black pawn in the first rank); |
* there can not be any pawn in the promotion square (no white pawn in the eighth rank, and no black pawn in the first rank); |
||
* |
* including the kings, up to 32 pieces of either color can be added. There is no requirement for material balance between sides; The picking of pieces does not have to comply to a regular chess set : there can be five knights, twenty rooks, as long as the total number of pieces do not exceed thirty-two. |
||
* it is white's turn, it is assumed that both sides have lost castling rights and that there is no possibility for *en passant* (the FEN should thus end in <tt>w - - 0 1</tt>); |
* it is white's turn, it is assumed that both sides have lost castling rights and that there is no possibility for *en passant* (the FEN should thus end in <tt>w - - 0 1</tt>); |
||