mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
ChessEngine: Reset the engine state on receiving a ucinewgame command
This commit is contained in:
parent
18735960de
commit
536f6b8b34
2 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,7 @@ public:
|
|||
virtual void handle_position(Chess::UCI::PositionCommand const&) override;
|
||||
virtual void handle_go(Chess::UCI::GoCommand const&) override;
|
||||
virtual void handle_quit() override;
|
||||
virtual void handle_ucinewgame() override;
|
||||
virtual void handle_unexpected_eof() override;
|
||||
|
||||
Function<void(int)> on_quit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue