Random starting position in chess

Random starting position in chess

Click here for a random case from cases or click here to suffling the cards and select
8 cards (marked with symbols: ) for the pieces on empty squares.

             
     Selection:

If the bishops are on squares of the same color, then the first knight from the left indicates how many (1 or 3) squares the bishop with the number 2 will move to the right and will be exchanged with the piece that is there. If there are no squares, we continue from the beginning (the 8 squares are considered to be in a circle).

If the king must be between the two rooks, then he is swapped with the nearest rook.

a

b

c

d

e

f

g

h

Click here for all cases in pgn text.