We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[15:40:01.593] var chess = new Chess() [15:40:01.594] undefined [15:40:19.412] chess.load('rnbqk2r/ppp1pp1p/5n1b/3p2pQ/1P2P3/B1N5/P1PP1PPP/R3KBNR b KQkq - 3 5') [15:40:19.414] true [15:42:42.097] chess.moves({'square' : 'f1', 'verbose' : true}) [15:42:42.099] [{color:"b", from:"e8", to:"g8", flags:"k", piece:"k", san:"O-O"}]
The text was updated successfully, but these errors were encountered:
Yep, that's definitely a bug. Thanks for the report.
Sorry, something went wrong.
Fix single-piece move generation bug.
48202e7
This fix prevents castling moves from being included in single-piece move generation; unless of course, the piece is a king. Fixes issue #30.
No branches or pull requests
[15:40:01.593] var chess = new Chess()
[15:40:01.594] undefined
[15:40:19.412] chess.load('rnbqk2r/ppp1pp1p/5n1b/3p2pQ/1P2P3/B1N5/P1PP1PPP/R3KBNR b KQkq - 3 5')
[15:40:19.414] true
[15:42:42.097] chess.moves({'square' : 'f1', 'verbose' : true})
[15:42:42.099] [{color:"b", from:"e8", to:"g8", flags:"k", piece:"k", san:"O-O"}]
The text was updated successfully, but these errors were encountered: