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

Support FEN input #17

Open
hans-ekbrand opened this issue Jan 29, 2023 · 1 comment
Open

Support FEN input #17

hans-ekbrand opened this issue Jan 29, 2023 · 1 comment

Comments

@hans-ekbrand
Copy link
Owner

As mentioned in #15 FEN input is no longer supported. Add such support.

Here is a typical UCI exchange from a GUI when doing analysis

0129 22:12:30.493014 140258316058624 ../../src/chess/uciloop.cc:136] >> position fen rnbqkbnr/ppppppp1/7p/8/3P4/8/PPP1PPPP/RNBQKBNR w AHah - 0 1
0129 22:12:30.493474 140258316058624 ../../src/chess/uciloop.cc:136] >> go infinite
@hans-ekbrand
Copy link
Owner Author

This patch only solves the case when there are no moves in the FEN. To actually deal with FEN that includes moves, a more complicated solution is needed.

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