node-chess
node-chess copied to clipboard
Extensible Chess engine in JavaScript
https://github.com/Seikho/node-chess/blob/7bb87963e5334233451dc211c1fa39a0e93b6668/src/engine/instances/classic/rules.ts#L88 fix on my branch is: ```js boardState.moves.filter((move) => { if (move.isWhite === checkWhite) return false; return kingSquare && move.to.file === kingSquare.file && move.to.rank === kingSquare.rank; }); ```
Hi, I'm wondering if node-chess can be used to carry out board/game analysis, similar to Stockfish JS, where you could give a fen string or board position and node-chess analyses...