From: Stéphane Nicolet Date: Mon, 3 Sep 2018 10:46:05 +0000 (+0200) Subject: Update list of authors X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=767c4ad1fc487b72240006c888aaf8c00006cd82 Update list of authors And also fix some spaces and formatting oddities in the code. No functional change --- diff --git a/AUTHORS b/AUTHORS index 9c25509b..ba374479 100644 --- a/AUTHORS +++ b/AUTHORS @@ -56,7 +56,7 @@ Ivan Ivec (IIvec) Jacques B. (Timshel) Jan OndruÅ¡ (hxim) Jarrod Torriero (DU-jdto) -Jean-Francois Romang +Jean-Francois Romang (jromang) Jerry Donald Watson (jerrydonaldwatson) Jonathan Calovski (Mysseno) Joost VandeVondele (vondele) @@ -82,6 +82,7 @@ Matthew Sullivan Mark Tenzer (31m059) Michael Byrne (MichaelB7) Michael Stembera (mstembera) +Michael Chaly (Vizvezdenec) Michel Van den Bergh (vdbergh) Miguel Lahoz (miguel-l) Mikael Bäckman (mbootsector) @@ -92,6 +93,7 @@ Mohammed Li (tthsqe12) Nathan Rugg (nmrugg) Nicklas Persson (NicklasPersson) Niklas Fiekas (niklasf) +Ondrej Mosnáček (WOnder93) Oskar Werkelin Ahlin Pablo Vazquez Pascal Romaret @@ -104,13 +106,14 @@ renouve Reuven Peleg Richard Lloyd Rodrigo Exterckötter Tjäder -Ron Britvich +Ron Britvich (Britvich) Ronald de Man (syzygy1) Ryan Schmitt Ryan Takker Sergei Antonov (saproj) sf-x shane31 +Steinar Gunderson (sesse) Stefan Geschwentner (locutus2) Stefano Cardanobile (Stefano80) Stéphane Nicolet (snicolet) diff --git a/Readme.md b/Readme.md index 5819d99d..4208f825 100644 --- a/Readme.md +++ b/Readme.md @@ -98,11 +98,15 @@ for a quick reference. ### Resource For Understanding the Code Base -* [Chess Programming Wiki](https://chessprogramming.wikispaces.com) has good overall chess engines explanations +* [Chess Programming Wiki](https://www.chessprogramming.org/Main_Page) +has good overall chess engines explanations (techniques used here are well explained like hash maps etc), it was also recommended by the [support team at stockfish.](http://support.stockfishchess.org/discussions/questions/1132-how-to-understand-stockfish-sources) -* [Here](https://chessprogramming.wikispaces.com/Stockfish) you can find a set of features and techniques used by stockfish and each of them is explained at the wiki, however, it's a generic way rather than focusing on stockfish's own implementation, but it will still help you. +* [Here](https://www.chessprogramming.org/Stockfish) you can find a set +of features and techniques used by Stockfish and each of them is explained +at the wiki, however, it's a generic way rather than focusing on Stockfish's +own implementation, but it will still help you. ### Terms of use diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 4a4ae2ad..c1f2bd0c 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -758,7 +758,7 @@ namespace { int outflanking = distance(pos.square(WHITE), pos.square(BLACK)) - distance(pos.square(WHITE), pos.square(BLACK)); - bool pawnsOnBothFlanks = (pos.pieces(PAWN) & QueenSide) + bool pawnsOnBothFlanks = (pos.pieces(PAWN) & QueenSide) && (pos.pieces(PAWN) & KingSide); // Compute the initiative bonus for the attacking side diff --git a/src/pawns.cpp b/src/pawns.cpp index 5048d4f1..75b94c19 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -32,9 +32,9 @@ namespace { #define S(mg, eg) make_score(mg, eg) // Pawn penalties - constexpr Score Isolated = S( 5, 15); - constexpr Score Backward = S( 9, 24); - constexpr Score Doubled = S(11, 56); + constexpr Score Backward = S( 9, 24); + constexpr Score Doubled = S(11, 56); + constexpr Score Isolated = S( 5, 15); // Connected pawn bonus by opposed, phalanx, #support and rank Score Connected[2][2][3][RANK_NB];