Add "Best Book Move" UCI option

Is a boolean option that when set allows Stockfish
to select the best book move across the possible ones.

Feature requested by Salvo Spitaleri.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-04-15 15:54:44 +02:00
parent 13431922a3
commit 94bb1964f6
4 changed files with 18 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ public:
void open(const std::string& fName);
void close();
const std::string file_name();
Move get_move(const Position& pos);
Move get_move(const Position& pos, bool findBestMove);
private:
Book& operator>>(uint64_t& n) { n = read_integer(8); return *this; }