Closed FeXd closed 9 months ago
I've realized this might be an issue with how I'm using js-chess-engine at the moment.
I'm using Option 2 - Without in-memory currently, which doesn't support setPiece
.
When a pawn reaches an end of a chessboard, he is automatically converted and calculated as a Queen. If you like, player can pick a new chess piece in your app, and you can send an updated chessboard. For in-memory approach please check setPiece function.
I'm inclined to find a way to just avoid any puzzle which includes a promotion...
Currently unable to promote Pawn to Queen in order to solve this puzzle: