About Chess AI
It was created by Alejandro Medina Reyes and uses chess.js to control the state of the board.
The difficulty levels are:
- 0:
The algorithm chooses a random move.
- odd numbers:
The algorithm chooses the best move according to the value of the pieces remaining in the n following turns.
- pair numbers:
The algorithm chooses the best move according to the value of the pieces remaining and their positions in the n following turns.