1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:37:35 +00:00

LibChess: Add the ucinewgame command

This command is sent from the GUI to tell the engine that the next
position will be from a different game.
This commit is contained in:
Tim Ledbetter 2023-04-26 19:00:48 +01:00 committed by Andreas Kling
parent 7e6341587b
commit 18735960de
4 changed files with 30 additions and 0 deletions

View file

@ -31,6 +31,7 @@ public:
virtual void handle_bestmove(BestMoveCommand const&) { }
virtual void handle_info(InfoCommand const&) { }
virtual void handle_quit() { }
virtual void handle_ucinewgame() { }
virtual void handle_unexpected_eof() { }
void send_command(Command const&);