summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
dc88cd6)
It seems the standard behaviour as implemented
in most engines although UCI protocol does not
specify what to do upon "ucinewgame" command.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
#include "position.h"
#include "search.h"
#include "thread.h"
#include "position.h"
#include "search.h"
#include "thread.h"
#include "ucioption.h"
using namespace std;
#include "ucioption.h"
using namespace std;
go(pos, is);
else if (token == "ucinewgame")
go(pos, is);
else if (token == "ucinewgame")
- { /* Avoid returning "Unknown command" */ }
else if (token == "isready")
cout << "readyok" << endl;
else if (token == "isready")
cout << "readyok" << endl;