← Back to all examples.
You can integrate chessboard.js with the chess.js library to only allow legal moves.