1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Update list of authors

And also fix some spaces and formatting oddities in the code.

No functional change
This commit is contained in:
Stéphane Nicolet 2018-09-03 12:46:05 +02:00 committed by Stéphane Nicolet
parent 2bfaf45455
commit 767c4ad1fc
4 changed files with 15 additions and 8 deletions

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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];