Skip to content
New issue

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

UCI position command accepts illegal fen/moves #2046

Open
dje-dev opened this issue Jul 18, 2024 · 0 comments
Open

UCI position command accepts illegal fen/moves #2046

dje-dev opened this issue Jul 18, 2024 · 0 comments

Comments

@dje-dev
Copy link
Contributor

dje-dev commented Jul 18, 2024

Example below. The FEN is valid but the move is not. An internal board state is created which is impossible (a knight pulled out of thin air that was not present on board).

position fen r4rk1/1R5p/3p1q2/p1pP4/P7/7P/6P1/1R1Q3K b - - 0 24 moves b8e8
fen
r3nrk1/1R5p/3p1q2/p1pP4/P7/7P/6P1/1R1Q3K w - - 1 25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant