A program to generate a truly random (but legal) starting chess position
The kings must not be in check, bishops must be on opposite colors, and pawns cannot start on the first or last ranks
Download stockfish from https://stockfishchess.org/download/ and include the reference to stockfish.exe on line 6.