Skip to content

Commit

Permalink
Update list of authors
Browse files Browse the repository at this point in the history
And also fix some spaces and formatting oddities in the code.

No functional change
  • Loading branch information
snicolet committed Sep 3, 2018
1 parent 2bfaf45 commit 767c4ad
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
7 changes: 5 additions & 2 deletions AUTHORS
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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)
Expand Down
8 changes: 6 additions & 2 deletions Readme.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/evaluate.cpp
Expand Up @@ -758,7 +758,7 @@ namespace {
int outflanking = distance<File>(pos.square<KING>(WHITE), pos.square<KING>(BLACK))
- distance<Rank>(pos.square<KING>(WHITE), pos.square<KING>(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
Expand Down
6 changes: 3 additions & 3 deletions src/pawns.cpp
Expand Up @@ -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];
Expand Down

0 comments on commit 767c4ad

Please sign in to comment.