mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Retire "ucinewgame" UCI option
UCI protocol it is not clear about what the engine should be supposed to do when "ucinewgame" is received. Stockfish simply sets the position to start FEN, but it is redundant becuase the GUI always resends the position after "ucinewgame" command, so it seems we can safely ignore that command. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
ee838f56f7
commit
7c8a8e038f
1 changed files with 0 additions and 3 deletions
|
@ -83,9 +83,6 @@ void uci_loop() {
|
|||
else if (token == "go")
|
||||
go(pos, is);
|
||||
|
||||
else if (token == "ucinewgame")
|
||||
pos.from_fen(StartFEN, false);
|
||||
|
||||
else if (token == "isready")
|
||||
cout << "readyok" << endl;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue