]> git.sesse.net Git - stockfish/commitdiff
Clarify use of UCI options
authorStéphane Nicolet <cassio@free.fr>
Sun, 13 Jun 2021 07:59:34 +0000 (09:59 +0200)
committerStéphane Nicolet <cassio@free.fr>
Sun, 13 Jun 2021 08:02:43 +0000 (10:02 +0200)
Update README.md to clarify use of UCI options

closes https://github.com/official-stockfish/Stockfish/pull/3540

No functional change

README.md
src/nnue/nnue_common.h

index 926d568db7e3d2ba2b08643ddb42d4d8a35b4ddb..f4ee2e3458c88093cac961f0777201c09ad9109f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -35,12 +35,14 @@ This distribution of Stockfish consists of the following files:
 
 ## The UCI protocol and available options
 
 
 ## The UCI protocol and available options
 
-The Universal Chess Interface (UCI) is a standard protocol used to communicate with a chess engine,
-and is the recommended way to do so for typical graphical user interfaces (GUI) or chess tools.
-
-Stockfish implements most commands as described in [the UCI protocol](https://www.shredderchess.com/download/div/uci.zip)
-
-For users, the following UCI options, which can typically be set via a GUI, are available in Stockfish:
+The Universal Chess Interface (UCI) is a standard protocol used to communicate with
+a chess engine, and is the recommended way to do so for typical graphical user interfaces
+(GUI) or chess tools. Stockfish implements the majority of it options as described
+in [the UCI protocol](https://www.shredderchess.com/download/div/uci.zip).
+
+Developers can see the default values for UCI options available in Stockfish by typing
+`./stockfish uci` in a terminal, but the majority of users will typically see them and
+change them via a chess GUI. This is a list of available UCI options in Stockfish:
 
   * #### Threads
     The number of CPU threads used for searching a position. For best performance, set
 
   * #### Threads
     The number of CPU threads used for searching a position. For best performance, set
index 390f61c35ad4c1c7e0119fc3b83eed17e39a2fc3..75ac78627915784bfd4e003260f3ecede09364e4 100644 (file)
@@ -148,7 +148,7 @@ namespace Stockfish::Eval::NNUE {
               out[i] = read_little_endian<IntType>(stream);
   }
 
               out[i] = read_little_endian<IntType>(stream);
   }
 
-  // write_little_endian(s, out, N) : write integers in bulk to a little indian stream.
+  // write_little_endian(s, values, N) : write integers in bulk to a little indian stream.
   // This takes N integers from array values and writes them on stream s.
   template <typename IntType>
   inline void write_little_endian(std::ostream& stream, const IntType* values, std::size_t count) {
   // This takes N integers from array values and writes them on stream s.
   template <typename IntType>
   inline void write_little_endian(std::ostream& stream, const IntType* values, std::size_t count) {