See the rules https://en.wikipedia.org/wiki/Dark_chess Click on the green flag to start a new game of Mystery Chess with your chosen settings. You may change the settings at any time by clicking on the text to the left of the chess board. Select any white/black piece with the mouse and then click on the square you want to move.
Have fun playing against a friend sitting next to you or challenge my self made chess algorithm called Robert. Please note that the setting "set pieces random" won't apply until you start a new game. The AI Robert starts making moves at the beginning of his colors next turn. Look down below if you are interested how this works. This project uses two arrays containing either all white or all black pieces. The pieces are encoded with single digits to support the two dimensional arrays. Inside the project the following code is very common: letter (x) of ( item (y) of [white] ) Robert creates a heatmap with all possible moves to avoid exposing his pieces to danger.