Fabian Fichter [Wed, 11 Mar 2020 22:44:50 +0000]
Communicate clock times in bughouse
Consider clock times of partner board in time management (#64).
Fabian Fichter [Sun, 8 Mar 2020 20:28:38 +0000]
Play fast when partner is dead in bughouse
bughouse
Total: 500 W: 263 L: 233 D: 4
Fabian Fichter [Sat, 7 Mar 2020 12:09:24 +0000]
Fix time unit of CECP st command
Set `st` in seconds instead of milliseconds.
Closes #85.
Fabian Fichter [Sat, 7 Mar 2020 10:35:54 +0000]
Tweak shelter bonus for nCheck
3check STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1845 W: 924 L: 801 D: 120
http://www.variantfishtest.org:6543/tests/view/
5e6258ac6e23db46beba4f4c
3check LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2573 W: 1251 L: 1119 D: 203
http://www.variantfishtest.org:6543/tests/view/
5e6281ff6e23db46beba4f55
Fabian Fichter [Fri, 6 Mar 2020 14:38:02 +0000]
Evaluate virtual pawn drop checks for bughouse
bughouse
Total: 500 W: 265 L: 232 D: 3
Fabian Fichter [Fri, 6 Mar 2020 14:10:02 +0000]
Consider endgame king danger for bughouse
bughouse
Total: 500 W: 270 L: 225 D: 5
Fabian Fichter [Fri, 6 Mar 2020 10:51:04 +0000]
Tweak piece values for bughouse
bughouse
Total: 200 W: 124 L: 75 D: 1
Fabian Fichter [Sun, 1 Mar 2020 19:08:43 +0000]
Improve evaluation of checks by piece drops
shogun
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 426 W: 243 L: 143 D: 40
pocketknight STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2526 W: 748 L: 648 D: 1130
http://www.variantfishtest.org:6543/tests/view/
5e5b92a66e23db46beba4f20
pocketknight LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1691 W: 505 L: 415 D: 771
http://www.variantfishtest.org:6543/tests/view/
5e5bb85d6e23db46beba4f2a
Fabian Fichter [Sun, 1 Mar 2020 19:06:37 +0000]
Consider board size in shogi king danger
shogi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 2688 W: 1391 L: 1251 D: 46
minishogi
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2208 W: 1169 L: 1035 D: 4
Fabian Fichter [Sat, 29 Feb 2020 22:46:01 +0000]
Fix race condition in holding command
Prevent race conditions in bughouse by updating the holdings
with the captured piece instead of completely overriding them,
given that the GUI provides this optional information.
Closes #73.
Fabian Fichter [Sat, 29 Feb 2020 22:38:54 +0000]
Scale check danger with check count
3check STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 4529 W: 2174 L: 2014 D: 341
http://www.variantfishtest.org:6543/tests/view/
5e5992676e23db46beba4f14
3check LTC
LLR: -2.95 (-2.94,2.94) [0.00,10.00]
Total: 6565 W: 3017 L: 3018 D: 530
http://www.variantfishtest.org:6543/tests/view/
5e5999ca6e23db46beba4f17
5check STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1635 W: 735 L: 624 D: 276
http://www.variantfishtest.org:6543/tests/view/
5e5999da6e23db46beba4f19
5check LTC
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 1199 W: 533 L: 431 D: 235
http://www.variantfishtest.org:6543/tests/view/
5e5a32106e23db46beba4f1b
Fabian Fichter [Fri, 28 Feb 2020 17:52:28 +0000]
Scale endgame danger with checks
3check STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 9256 W: 4385 L: 4157 D: 714
http://www.variantfishtest.org:6543/tests/view/
5e564bfc6e23db46beba4ede
3check LTC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 11218 W: 5188 L: 5123 D: 907
http://www.variantfishtest.org:6543/tests/view/
5e5685976e23db46beba4f00
5check STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 393 W: 189 L: 134 D: 70
http://www.variantfishtest.org:6543/tests/view/
5e564c1d6e23db46beba4ee1
Fabian Fichter [Fri, 28 Feb 2020 17:46:42 +0000]
Fix queen check danger
Fabian Fichter [Fri, 28 Feb 2020 17:39:35 +0000]
Fix definition of camp in king safety
Fabian Fichter [Thu, 27 Feb 2020 22:48:01 +0000]
Increase check danger for nCheck variants
3check STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3733 W: 1808 L: 1659 D: 266
http://www.variantfishtest.org:6543/tests/view/
5e5649d26e23db46beba4ed3
3check LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 5655 W: 2672 L: 2497 D: 486
http://www.variantfishtest.org:6543/tests/view/
5e576a846e23db46beba4f04
Fabian Fichter [Thu, 27 Feb 2020 18:56:20 +0000]
Tweak piece values for variants without checks
racingkings STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 2872 W: 1009 L: 895 D: 968
http://www.variantfishtest.org:6543/tests/view/
5e5662136e23db46beba4ef0
racingkings LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2799 W: 907 L: 799 D: 1093
http://www.variantfishtest.org:6543/tests/view/
5e566cf16e23db46beba4ef3
Fabian Fichter [Wed, 26 Feb 2020 15:20:37 +0000]
Fix compiler warnings
Fabian Fichter [Thu, 20 Feb 2020 22:29:30 +0000]
Update readme
Fabian Fichter [Thu, 20 Feb 2020 22:11:06 +0000]
Support Three Kings Chess
Closes #79.
Fabian Fichter [Thu, 20 Feb 2020 20:56:43 +0000]
Support Koedem
http://schachclub-oetigheim.de/wp-content/uploads/2016/04/Koedem-rules.pdf
Closes #78.
Fabian Fichter [Wed, 19 Feb 2020 19:20:22 +0000]
Double material bonus for losing chess
giveaway STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1273 W: 553 L: 451 D: 269
http://www.variantfishtest.org:6543/tests/view/
5e4c63ff6e23db46beba4e50
giveaway LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1470 W: 615 L: 512 D: 343
http://www.variantfishtest.org:6543/tests/view/
5e4ce01e6e23db46beba4e64
losers LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 624 W: 317 L: 258 D: 49
http://www.variantfishtest.org:6543/tests/view/
5e4d6d576e23db46beba4e66
Fabian Fichter [Wed, 19 Feb 2020 19:07:41 +0000]
Tweak piece values for losing chess variants
giveaway STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 968 W: 416 L: 320 D: 232
http://www.variantfishtest.org:6543/tests/view/
5e4c62af6e23db46beba4e49
giveaway STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 808 W: 338 L: 247 D: 223
http://www.variantfishtest.org:6543/tests/view/
5e4cdfff6e23db46beba4e60
losers STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1862 W: 903 L: 783 D: 176
http://www.variantfishtest.org:6543/tests/view/
5e4c62c36e23db46beba4e4c
losers LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3538 W: 1617 L: 1476 D: 445
http://www.variantfishtest.org:6543/tests/view/
5e4ce00a6e23db46beba4e62
Fabian Fichter [Wed, 19 Feb 2020 18:58:37 +0000]
Clear hash on new game in CECP
Ensures reproducible results on repeated searches, e.g.:
```
xboard
new
go
new
go
```
Closes #80.
Fabian Fichter [Wed, 12 Feb 2020 21:26:26 +0000]
Fix notation for pieces in hand in SFEN
Prefix the piece letter by the piece count instead of repeating the letter.
Support old notation in parsing for backwards compatibility.
Closes #77.
Fabian Fichter [Wed, 12 Feb 2020 17:47:38 +0000]
Speed up move generation
chess STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 4792 W: 1081 L: 969 D: 2742
http://www.variantfishtest.org:6543/tests/view/
5e4317286e23db46beba4e0e
No functional change.
Fabian Fichter [Wed, 12 Feb 2020 17:46:06 +0000]
Disable makruk counting for positions with pawns
makruk STC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 2064 W: 169 L: 136 D: 1759
http://www.variantfishtest.org:6543/tests/view/
5e4308466e23db46beba4e06
makruk LTC
LLR: 3.01 (-2.94,2.94) [-10.00,5.00]
Total: 2530 W: 163 L: 130 D: 2237
http://www.variantfishtest.org:6543/tests/view/
5e430b2d6e23db46beba4e09
Closes #75.
Fabian Fichter [Mon, 10 Feb 2020 22:01:59 +0000]
Simplify FEN parsing for large boards
No functional change.
Fabian Fichter [Thu, 6 Feb 2020 20:45:34 +0000]
Support Makpong (Defensive Chess)
https://www.mayhematics.com/v/vol8/vc64b.pdf
https://books.google.de/books?id=0O02DwAAQBAJ&pg=PA81&lpg=PA81&dq=makpong
Closes #72.
No functional change for other variants.
Fabian Fichter [Fri, 7 Feb 2020 12:19:19 +0000]
Simplify do_move and undo_move
No functional change.
Fabian Fichter [Thu, 6 Feb 2020 19:15:18 +0000]
Support generation of FENs showing promoted pawns
Required for gbtami/pychess-variants#87.
No functional change.
Fabian Fichter [Thu, 6 Feb 2020 10:59:16 +0000]
Minor readme updates
Fabian Fichter [Wed, 5 Feb 2020 21:11:44 +0000]
Implement variant configuration checker
Usage: `./stockfish check variants.ini`
Closes #62.
Fabian Fichter [Tue, 4 Feb 2020 21:15:10 +0000]
Extend range of skill levels to negative values
Fabian Fichter [Tue, 4 Feb 2020 20:03:06 +0000]
Update pychess-variants link in readme
Fabian Fichter [Sat, 1 Feb 2020 00:10:03 +0000]
Restore development version
Fabian Fichter [Fri, 31 Jan 2020 13:56:26 +0000]
Fairy-Stockfish 11
bench: 4794966
Fabian Fichter [Fri, 31 Jan 2020 10:25:30 +0000]
Update Shogun chess in variants.ini
Rename Ferz for compatibility with pychess-variants.
Fabian Fichter [Thu, 30 Jan 2020 20:44:43 +0000]
Support USI extensions
Improve Shogi GUI compatibility by supporting:
- bestmove resign
- go byoyomi
Closes #71.
Fabian Fichter [Sun, 26 Jan 2020 18:39:38 +0000]
Merge official-stockfish/master
bench: 4794966
Fabian Fichter [Sun, 26 Jan 2020 16:12:57 +0000]
Merge official-stockfish/master
Fabian Fichter [Sun, 26 Jan 2020 12:07:16 +0000]
Fix slider blockers for banner
No functional change for all variants except manchu.
Fabian Fichter [Sat, 25 Jan 2020 22:49:56 +0000]
Fix Betza notation for royal fairy pieces
Fabian Fichter [Sat, 25 Jan 2020 21:37:28 +0000]
Merge official-stockfish/master
bench: 5115004
Fabian Fichter [Sat, 25 Jan 2020 11:05:49 +0000]
Generalize check for fairy riders
No functional change.
Fabian Fichter [Fri, 24 Jan 2020 15:16:51 +0000]
Consider attacks to CTF square in Jeson Mor
jesonmor STC
LLR: 4.87 (-2.94,2.94) [0.00,10.00]
Total: 765 W: 472 L: 292 D: 1
http://www.variantfishtest.org:6543/tests/view/
5e29ec386e23db46beba4cd4
jesonmor LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3514 W: 1832 L: 1679 D: 3
http://www.variantfishtest.org:6543/tests/view/
5e29eebb6e23db46beba4cd7
Fabian Fichter [Thu, 23 Jan 2020 18:25:59 +0000]
Speed-up for CTF variants
racingkings STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 576 W: 235 L: 151 D: 190
http://www.variantfishtest.org:6543/tests/view/
5e28c2806e23db46beba4cc8
kingofthehill STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 842 W: 410 L: 309 D: 123
http://www.variantfishtest.org:6543/tests/view/
5e28c2726e23db46beba4cc5
Fabian Fichter [Sat, 18 Jan 2020 12:30:07 +0000]
Support resetting of piece types in configuration
Stéphane Nicolet [Wed, 15 Jan 2020 21:39:27 +0000]
Stockfish 11
Official release version of Stockfish 11.
Bench: 5156767
-----------------------
It is our pleasure to release Stockfish 11 to our fans and supporters.
Downloads are freely available at http://stockfishchess.org/download/
This version 11 of Stockfish is 50 Elo stronger than the last version, and
150 Elo stronger than the version which famously lost a match to AlphaZero
two years ago. This makes Stockfish the strongest chess engine running on
your smartphone or normal desktop PC, and we estimate that on a modern four
cores CPU, Stockfish 11 could give 1:1000 time odds to the human chess champion
having classical time control, and be on par with him. More specific data,
including nice cumulative curves for the progression of Stockfish strength
over the last seven years, can be found on [our progression page][1], at
[Stefan Pohl site][2] or at [NextChessMove][3].
In October 2019 Stockfish has regained its crown in the TCEC competition,
beating in the superfinal of season 16 an evolution of the neural-network
engine Leela that had won the previous season. This clash of style between an
alpha-beta and an neural-network engine produced spectacular chess as always,
with Stockfish [emerging victorious this time][0].
Compared to Stockfish 10, we have made hundreds of improvements to the
[codebase][4], from the evaluation function (improvements in king attacks,
middlegame/endgame transitions, and many more) to the search algorithm (some
innovative coordination methods for the searching threads, better pruning of
unsound tactical lines, etc), and fixed a couple of bugs en passant.
Our testing framework [Fishtest][5] has also seen its share of improvements
to continue propelling Stockfish forward. Along with a lot of small enhancements,
Fishtest has switched to new SPRT bounds to increase the chance of catching Elo
gainers, along with a new testing book and the use of pentanomial statistics to
be more resource-efficient.
Overall the Stockfish project is an example of open-source at its best, as
its buzzing community of programmers sharing ideas and daily reviewing their
colleagues' patches proves to be an ideal form to develop innovative ideas for
chess programming, while the mathematical accuracy of the testing framework
allows us an unparalleled level of quality control for each patch we put in
the engine. If you wish, you too can help our ongoing efforts to keep improving
it, just [get involved][6] :-)
Stockfish is also special in that every chess fan, even if not a programmer,
[can easily help][7] the team to improve the engine by connecting their PC to
Fishtest and let it play some games in the background to test new patches.
Individual contributions vary from 1 to 32 cores, but this year Bojun Guo
made it a little bit special by plugging a whole data center during the whole
year: it was a vertiginous experience to see Fishtest spikes with 17466 cores
connected playing [25600 games/minute][8]. Thanks Guo!
The Stockfish team
[0]: <http://mytcecexperience.blogspot.com/2019/10/season-16-superfinal-games-91-100.html>
[1]: <https://github.com/glinscott/fishtest/wiki/Regression-Tests>
[2]: <https://www.sp-cc.de/index.htm>
[3]: <https://nextchessmove.com/dev-builds>
[4]: <https://github.com/official-stockfish/Stockfish>
[5]: <https://tests.stockfishchess.org/tests>
[6]: <https://stockfishchess.org/get-involved/>
[7]: <https://github.com/glinscott/fishtest/wiki>
[8]: <https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/lebEmG5vgng%5B1-25%5D>
Fabian Fichter [Fri, 17 Jan 2020 15:47:22 +0000]
Readjust piece values for New Zealand chess
newzealand STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1748 W: 472 L: 385 D: 891
http://www.variantfishtest.org:6543/tests/view/
5e2187a86e23db46beba4c74
newzealand LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1443 W: 371 L: 290 D: 782
http://www.variantfishtest.org:6543/tests/view/
5e218c0b6e23db46beba4c77
Fabian Fichter [Thu, 16 Jan 2020 21:33:44 +0000]
Tweak piece values for New Zealand chess
newzealand STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 178 W: 121 L: 32 D: 25
http://www.variantfishtest.org:6543/tests/view/
5e20d7176e23db46beba4c6f
newzealand LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 186 W: 121 L: 34 D: 31
http://www.variantfishtest.org:6543/tests/view/
5e20dcee6e23db46beba4c72
Stéphane Nicolet [Wed, 15 Jan 2020 21:21:15 +0000]
Update Readme.md for the compiler command
No functional change
Fabian Fichter [Wed, 15 Jan 2020 20:47:59 +0000]
Merge official-stockfish/master
bench: 5066442
Fabian Fichter [Wed, 15 Jan 2020 20:06:22 +0000]
Fix Tsume mode speed regression
Joost VandeVondele [Mon, 13 Jan 2020 14:46:40 +0000]
Tweak late move reductions at root
More LMR at root, unless a fail low might happen.
passed STC:
LLR: 2.94 (-2.94,2.94) {-1.00,3.00}
Total: 25428 W: 4960 L: 4789 D: 15679
Ptnml(0-2): 424, 2948, 5832, 3045, 460
http://tests.stockfishchess.org/tests/view/
5e1c9afed12216a2857e6401
passed LTC:
LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 187423 W: 24253 L: 23599 D: 139571
Ptnml(0-2): 1284, 17437, 55536, 18085, 1292
http://tests.stockfishchess.org/tests/view/
5e1ceb9975be933c8fe635a3
Closes https://github.com/official-stockfish/Stockfish/pull/2493
Bench: 5156767
Fabian Fichter [Sun, 12 Jan 2020 21:53:57 +0000]
Fix attack bitboard for non-king royal pieces
knightmate STC
LLR: 3.00 (-2.94,2.94) [-10.00,5.00]
Total: 308 W: 114 L: 67 D: 127
http://www.variantfishtest.org:6543/tests/view/
5e1b95bd6e23db695c3fd2c2
knightmate LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 343 W: 121 L: 75 D: 147
http://www.variantfishtest.org:6543/tests/view/
5e1b963f6e23db695c3fd2c5
Stefan Geschwentner [Mon, 13 Jan 2020 10:19:03 +0000]
Tweak reductions for captures/promotions
From the third move reduce captures and promotions more if remaining depth is low.
STC:
LLR: 2.94 (-2.94,2.94) {-1.00,3.00}
Total: 25218 W: 5008 L: 4837 D: 15373
Ptnml(0-2): 439, 2950, 5717, 3001, 499
http://tests.stockfishchess.org/tests/view/
5e1b33abd12216a2857e6359
LTC:
LLR: 2.95 (-2.94,2.94) {0.00,2.00}
Total: 35491 W: 4760 L: 4524 D: 26207
Ptnml(0-2): 264, 3288, 10413, 3460, 294
http://tests.stockfishchess.org/tests/view/
5e1b88d5d12216a2857e6385
Closes https://github.com/official-stockfish/Stockfish/pull/2488
Bench: 4979757
Vizvezdenec [Sun, 12 Jan 2020 23:59:06 +0000]
Tweak futility pruning constants
Based on recent improvement of futility pruning by @locutus2 : we lower
the futility margin to apply it for more nodes but as a compensation
we also lower the history threshold to apply it to less nodes. Further
work in tweaking constants can always be done - numbers are guessed
"by hand" and are not results of some tuning, maybe there is some more
Elo to squeeze from this part of code.
Passed STC
LLR: 2.98 (-2.94,2.94) {-1.00,3.00}
Total: 15300 W: 3081 L: 2936 D: 9283
Ptnml(0-2): 260, 1816, 3382, 1900, 290
http://tests.stockfishchess.org/tests/view/
5e18da3b27dab692fcf9a158
Passed LTC
LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 108670 W: 14509 L: 14070 D: 80091
Ptnml(0-2): 813, 10259, 31736, 10665, 831
http://tests.stockfishchess.org/tests/view/
5e18fc9627dab692fcf9a180
Bench: 4643972
xoto10 [Mon, 13 Jan 2020 09:05:49 +0000]
Fix previous patch in case of ponder
No functional change
xoto10 [Sat, 11 Jan 2020 22:10:22 +0000]
Smarter time management near stop limit
This patch makes Stockfish search same depth again if > 60% of optimum time is
already used, instead of trying the next iteration. The idea is that the next
iteration will generally take about the same amount of time as has already been
used in total. When we are likely to begin the last iteration, as judged by total
time taken so far > 0.6 * optimum time, searching the last depth again instead of
increasing the depth still helps the other threads in lazy SMP and prepares better
move ordering for the next moves.
STC :
LLR: 2.95 (-2.94,2.94) {-1.00,3.00}
Total: 13436 W: 2695 L: 2558 D: 8183
Ptnml(0-2): 222, 1538, 3087, 1611, 253
https://tests.stockfishchess.org/tests/view/
5e1618a761fe5f83a67dd964
LTC :
LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 32160 W: 4261 L: 4047 D: 23852
Ptnml(0-2): 211, 2988, 9448, 3135, 247
https://tests.stockfishchess.org/tests/view/
5e162ca061fe5f83a67dd96d
The code was revised as suggested by @vondele for multithreading:
STC (8 threads):
LLR: 2.95 (-2.94,2.94) {0.00,2.00}
Total: 16640 W: 2049 L: 1885 D: 12706
Ptnml(0-2): 119, 1369, 5158, 1557, 108
https://tests.stockfishchess.org/tests/view/
5e19826a2cc590e03c3c2f52
LTC (8 threads):
LLR: 2.95 (-2.94,2.94) {-1.00,3.00}
Total: 16536 W: 2758 L: 2629 D: 11149
Ptnml(0-2): 182, 1758, 4296, 1802, 224
https://tests.stockfishchess.org/tests/view/
5e18b91a27dab692fcf9a140
Thanks to those discussing Stockfish lazy SMP on fishcooking which made me
try this, and to @vondele for suggestions and doing related tests.
See full discussion in the pull request thread:
https://github.com/official-stockfish/Stockfish/pull/2482
Bench: 4586187
Fabian Fichter [Sun, 12 Jan 2020 21:15:51 +0000]
Adjust rule configuration for Shogun
Fabian Fichter [Sun, 12 Jan 2020 21:07:46 +0000]
Fix Betza notation for pawn drops
Fabian Fichter [Sun, 12 Jan 2020 20:35:03 +0000]
Implement XBoard Betza notation for castling
Fabian Fichter [Fri, 10 Jan 2020 23:18:20 +0000]
Fix handling of pawns in promotion zone
- Support shogi-style piece promotion for pawns
- Make pawn drops in promotion zone configurable via `promotionZonePawnDrops`
- Fix parsing of promotionPieceTypes option
Stéphane Nicolet [Tue, 24 Sep 2019 17:00:27 +0000]
Show compiler info at startup
This patch shows a description of the compiler used to compile Stockfish,
when starting from the console.
Usage:
```
./stockfish
compiler
```
Example of output:
```
Stockfish 120120 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
Compiled by clang++ 9.0.0 on Apple
__VERSION__ macro expands to: 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.38)
```
No functional change
Fabian Fichter [Sun, 12 Jan 2020 00:00:53 +0000]
Rewrite bughouse partner communication
- Support playing moves requested by partner.
- Extend help.
Fabian Fichter [Fri, 10 Jan 2020 19:15:25 +0000]
Rename firstRankDrops to firstRankPawnDrops
No functional change.
Fabian Fichter [Fri, 10 Jan 2020 17:15:33 +0000]
Support Supply chess
A four-player variant of Xiangqi similar to bughouse:
https://en.wikipedia.org/wiki/Xiangqi#Variations
Fabian Fichter [Fri, 3 Jan 2020 12:39:05 +0000]
Increase probcut margin for CTF variants
racingkings STC
LLR: -2.95 (-2.94,2.94) [0.00,10.00]
Total: 10039 W: 3296 L: 3245 D: 3498
http://www.variantfishtest.org:6543/tests/view/
5e0f364e6e23db1ffe4a296c
racingkings LTC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 9089 W: 2797 L: 2614 D: 3678
http://www.variantfishtest.org:6543/tests/view/
5e11ade16e23db1ffe4a2983
kingofthehill STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 12632 W: 5423 L: 5158 D: 2051
http://www.variantfishtest.org:6543/tests/view/
5e0f36376e23db1ffe4a2969
kingofthehill LTC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 21444 W: 8849 L: 8638 D: 3957
http://www.variantfishtest.org:6543/tests/view/
5e11add66e23db1ffe4a2981
Fabian Fichter [Fri, 10 Jan 2020 13:30:51 +0000]
Implement sit and go commands for bughouse
- Listen to `sit` and `go` commands
- Automatically sit when in a forced mate
Joost VandeVondele [Fri, 10 Jan 2020 02:02:09 +0000]
Update Elo estimates for terms in search
This updates estimates from 1.5 year ago, and adds missing terms. All estimates
from tests run on fishtest at 10+0.1 (STC), 20000 games, error bars +- 3 Elo,
see the original message in the pull request for the full list of tests.
Noteworthy changes are step 7 (futility pruning) going from ~30 to ~50 Elo
and step 13 (pruning at shallow depth) going from ~170 to ~200 Elo.
Full list of tests: https://github.com/official-stockfish/Stockfish/pull/2401
@Rocky640 made the suggestion to look at time control dependence of these terms.
I picked two large terms (early futility pruning and singular extension), so with
small relative error. It turns out it is actually quite interesting (see figure 1).
Contrary to my expectation, the Elo gain for early futility pruning is pretty time
control sensitive, while singular extension gain is not.
Figure 1: TC dependence of two search terms

Going back to the old measurement of futility pruning (30 Elo vs today 50 Elo),
the code is actually identical but the margins have changed. It seems like a nice
example of how connected terms in search really are, i.e. the value of early futility
pruning increased significantly due to changes elsewhere in search.
No functional change.
protonspring [Fri, 3 Jan 2020 18:33:18 +0000]
Rewrite initialization of PseudoMoves
This is a non-functional code style change. I believe master is a bit convoluted
here and propose this version for clarity.
No functional change
Stéphane Nicolet [Thu, 9 Jan 2020 19:49:13 +0000]
Assorted trivial cleanups January 2020
Assorted trivial cleanups.
No functional change
joergoster [Thu, 12 Dec 2019 11:53:47 +0000]
50-moves rule improvement for transposition table
User "adentong" reported recently of a game where Stockfish blundered a game
in a tournament because during a search there was an hash-table issue for
positions inside the tree very close to the 50-moves draw rule. This is part
of a problem which is commonly referred to as the Graph History Interaction (GHI),
and is difficult to solve in computer chess because storing the 50-moves counter
in the hash-table loses Elo in general.
Links:
Issue 2451 : https://github.com/official-stockfish/Stockfish/issues/2451
About the GHI : https://www.chessprogramming.org/Graph_History_Interaction
This patch tries to address the issue in this particular game and similar
reported games: it prevents that values from the transposition table are
getting used when the 50-move counter is close to reaching 100 (). The idea
is that in such cases values from previous searches, with a much lower 50-move
count, become less and less reliable.
More precisely, the heuristic we use in this patch is that we don't take the
transposition table cutoff when we have reached a 45-moves limit, but let the
search continue doing its job. There is a possible slowdown involved, but it will
also help to find either a draw when it thought to be losing, or a way to avoid
the draw by 50-move rule. This heuristics probably will not fix all possible cases,
but seems to be working reasonably well in practice while not losing too much Elo.
Passed non-regression tests:
STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 274452 W: 59700 L: 60075 D: 154677
http://tests.stockfishchess.org/tests/view/
5df546116932658fe9b451bf
LTC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 95235 W: 15297 L: 15292 D: 64646
http://tests.stockfishchess.org/tests/view/
5df69c926932658fe9b4520e
Closes https://github.com/official-stockfish/Stockfish/pull/2453
Bench: 4586187
Alain SAVARD [Tue, 7 Jan 2020 20:35:47 +0000]
Update lists of authors and contributors
Preparing for version 11 of Stockfish: update lists of authors,
contributors giving CPU time to the fishtest framework, etc.
No functional change
lantonov [Wed, 1 Jan 2020 08:10:39 +0000]
Tuned nullmove search
Tuning was done with Bayesian optimisation and sequential use of gaussian process
regressor and gaussian process classifier. The latter is used in lieu of ordinal
categorical modelling. Details will be given in Fishcooking forum topic: https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/b3uhBBJcJG4
STC:
LLR: 2.96 (-2.94,2.94) {-1.00,3.00}
Total: 10248 W: 2361 L: 2233 D: 5654
Ptnml(0-2): 191, 1153, 2303, 1276, 194
http://tests.stockfishchess.org/tests/view/
5e0ba4159d3fbe26f672d4e6
LTC:
LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 16003 W: 2648 L: 2458 D: 10897
Ptnml(0-2): 121, 1595, 4394, 1718, 153
http://tests.stockfishchess.org/tests/view/
5e0bb8519d3fbe26f672d4fd
Closes https://github.com/official-stockfish/Stockfish/pull/2468
Bench 4747984
Vizvezdenec [Fri, 3 Jan 2020 02:53:59 +0000]
Introduce king infiltration bonus
Add king infiltration bonus to initiative calculation. Idea is somewhat similar
to outflanking - endgames are hard to win if each king is on it side of the board.
So this adds extra bonus for one of kings crossing the middle line.
STC
LLR: 2.94 (-2.94,2.94) {-1.00,3.00}
Total: 10533 W: 2372 L: 2242 D: 5919
Ptnml(0-2): 196, 1198, 2352, 1316, 202
http://tests.stockfishchess.org/tests/view/
5e0e6fd1e97ea42ea89da9b3
LTC
LLR: 2.96 (-2.94,2.94) {0.00,2.00}
Total: 15074 W: 2563 L: 2381 D: 10130
Ptnml(0-2): 118, 1500, 4111, 1663, 129
http://tests.stockfishchess.org/tests/view/
5e0e857ae97ea42ea89da9cc
Closes https://github.com/official-stockfish/Stockfish/pull/2471
Bench: 5146339
Stefan Geschwentner [Fri, 3 Jan 2020 10:49:25 +0000]
Tweak futility pruning
Exclude moves with a good history total from futility pruning. This adds
a condition for quiet futility pruning: history total has to be low.
STC:
LLR: 2.94 (-2.94,2.94) {-1.00,3.00}
Total: 20095 W: 4503 L: 4342 D: 11250
Ptnml(0-2): 362, 2380, 4422, 2486, 388
http://tests.stockfishchess.org/tests/view/
5e0d7c5387585b1706b68370
LTC:
LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 53016 W: 8587 L: 8302 D: 36127
Ptnml(0-2): 353, 5397, 14751, 5545, 423
http://tests.stockfishchess.org/tests/view/
5e0e30d062fb773bb7047e95
Closes https://github.com/official-stockfish/Stockfish/pull/2472
Bench: 5215200
Alain SAVARD [Sat, 4 Jan 2020 18:54:35 +0000]
Use a faster implementation of Static Exchange Evaluation
SEE (Static Exchange Evaluation) is a critical component, so we might
indulge some tricks to make it faster. Another pull request #2469 showed
some speedup by removing templates, this version uses Ronald de Man
(@syzygy1) SEE implementation which also unrolls the for loop by
suppressing the min_attacker() helper function and exits as soon as
the last swap is conclusive.
See Ronald de Man version there:
https://github.com/syzygy1/Cfish/blob/master/src/position.c
Patch testes against pull request #2469:
LLR: 2.95 (-2.94,2.94) {-1.00,3.00}
Total: 19365 W: 3771 L: 3634 D: 11960
Ptnml(0-2): 241, 1984, 5099, 2092, 255
http://tests.stockfishchess.org/tests/view/
5e10eb135e5436dd91b27ba3
And since we are using new SPRT statistics, and that both pull requests
finished with less than 20000 games I also tested against master as
a speed-up:
LLR: 2.99 (-2.94,2.94) {-1.00,3.00}
Total: 18878 W: 3674 L: 3539 D: 11665
Ptnml(0-2): 193, 1999, 4966, 2019, 250
http://tests.stockfishchess.org/tests/view/
5e10febf12ef906c8b388745
Non functional change
Fabian Fichter [Sun, 5 Jan 2020 23:39:48 +0000]
Add knightmate to standard variants
Fabian Fichter [Sun, 5 Jan 2020 22:59:03 +0000]
Apply promotion limit to piece promotions
Closes #61.
Fabian Fichter [Sun, 5 Jan 2020 21:02:38 +0000]
Support Knightmate chess
https://www.chessvariants.com/diffobjective.dir/knightmate.html
No functional change for other variants.
Closes #50.
Fabian Fichter [Sun, 5 Jan 2020 15:11:01 +0000]
Fix checkbox options for xboard protocol
Use 1/0 instead of true/false.
Fabian Fichter [Sun, 5 Jan 2020 15:10:08 +0000]
Support xboard ping command
Fabian Fichter [Sun, 5 Jan 2020 12:42:04 +0000]
Restart search on bughouse holding command
Instead of moving instantly, update the board state and restart the search.
ppigazzini [Sat, 4 Jan 2020 01:48:32 +0000]
Update Readme.md
Update fishtest server URL, fix a broken wiki link, fix a typo.
Fabian Fichter [Fri, 3 Jan 2020 21:14:31 +0000]
Case-insensitive parsing of piece types
Make parsing of piece types from variant configuration case-insensitive.
Fixes #63.
Fabian Fichter [Tue, 31 Dec 2019 12:47:18 +0000]
Support suicide chess
https://www.freechess.org/Help/HelpFiles/suicide_chess.html
Fabian Fichter [Tue, 31 Dec 2019 12:29:56 +0000]
Support nocastle chess
Fabian Fichter [Thu, 26 Dec 2019 12:35:44 +0000]
Support bughouse-specific XBoard commands
Fabian Fichter [Wed, 25 Dec 2019 11:33:00 +0000]
Generalize sittuyin promotion
No functional change.
Fabian Fichter [Wed, 25 Dec 2019 08:42:30 +0000]
Support bughouse
Add basic support for bughouse without protocol extensions yet.
xoto10 [Fri, 13 Dec 2019 04:59:06 +0000]
Tune search constants
STC failed red :
LLR: -2.95 (-2.94,2.94) [0.00,3.50]
Total: 41667 W: 9094 L: 9138 D: 23435
https://tests.stockfishchess.org/tests/view/
5df7bb566932658fe9b45253
LTC failed yellow :
LLR: -2.96 (-2.94,2.94) [0.00,3.50]
Total: 113667 W: 18330 L: 18196 D: 77141
https://tests.stockfishchess.org/tests/view/
5df562386932658fe9b451c7
VLTC turned green :
LLR: 2.95 (-2.94,2.94) [0.00,3.50]
Total: 128630 W: 17747 L: 17273 D: 93610
https://tests.stockfishchess.org/tests/view/
5df9054dcde01bf360ab78db
Bench 5180012
Fabian Fichter [Tue, 24 Dec 2019 13:39:22 +0000]
Set variantTemplate for pocketknight
Fabian Fichter [Tue, 24 Dec 2019 13:01:42 +0000]
Send piece command in XBoard protocol
Use Betza notation to communicate piece movement options to GUI.
Improves compatibility with XBoard/WinBoard and allows to play
most variants with legality testing enabled.
Closes #56.
Fabian Fichter [Tue, 24 Dec 2019 12:03:26 +0000]
Add missing pieceToCharTable definitions
Fixes XBoard/WinBoard compatibility for placement and sittuyin.
Fabian Fichter [Mon, 23 Dec 2019 12:13:27 +0000]
Tweak piece values for drop variants
and variants where check is prohibited.
crazyhouse STC (yellow)
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 16416 W: 8023 L: 7887 D: 506
http://www.variantfishtest.org:6543/tests/view/
5dfe8f2f6e23db1ffe4a28ee
crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2507 W: 1275 L: 1140 D: 92
http://www.variantfishtest.org:6543/tests/view/
5dff13b16e23db1ffe4a28f3
racingkings STC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 4507 W: 1524 L: 1501 D: 1482
http://www.variantfishtest.org:6543/tests/view/
5dffdcfe6e23db1ffe4a28fb
racingkings LTC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 1150 W: 362 L: 320 D: 468
http://www.variantfishtest.org:6543/tests/view/
5dffdcf26e23db1ffe4a28f9
Fabian Fichter [Mon, 23 Dec 2019 12:11:24 +0000]
Tweak piece value of Ai-Wok
ai-wok STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 12183 W: 4264 L: 4029 D: 3890
http://www.variantfishtest.org:6543/tests/view/
5dcc4d6e6e23db1ffe4a2731
ai-wok LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 27865 W: 9319 L: 8890 D: 9656
http://www.variantfishtest.org:6543/tests/view/
5dce72436e23db1ffe4a274b
Fabian Fichter [Mon, 23 Dec 2019 12:10:14 +0000]
Increase aspiration window for drop variants
crazyhouse STC (failed)
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 3614 W: 1727 L: 1775 D: 112
http://www.variantfishtest.org:6543/tests/view/
5deec1876e23db1ffe4a28be
crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3726 W: 1863 L: 1711 D: 152
http://www.variantfishtest.org:6543/tests/view/
5deeca6e6e23db1ffe4a28ca
crazyhouse VLTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 11893 W: 5810 L: 5541 D: 542
http://www.variantfishtest.org:6543/tests/view/
5df095f66e23db1ffe4a28d8
Guenther Demetz [Tue, 10 Dec 2019 07:07:34 +0000]
Refine improving-logic
Don't rely on the assumption that we are improving after surviving a
check. Instead, compare with the static eval of 2 moves before.
STC
https://tests.stockfishchess.org/tests/view/
5dedfd7f3cff9a249bb9e44d
LLR: 2.95 (-2.94,2.94) [-1.50,4.50]
Total: 38859 W: 8621 L: 8397 D: 21841
LTC
https://tests.stockfishchess.org/tests/view/
5dee1b5a3cff9a249bb9e465
LLR: 2.95 (-2.94,2.94) [0.00,3.50]
Total: 51130 W: 8308 L: 7996 D: 34826
Bench: 5371271
lantonov [Mon, 9 Dec 2019 18:50:47 +0000]
Tuned razor and futility margins
Tuning was done with Bayesian optimisation with the following parameters:
Acquisition function: Expected Improvement
alpha: 0.05
xi: 1e-4
TC: 60+0.6
Number of iterations: 100
Initial points: 5
Batch size: 20 games
STC
http://tests.stockfishchess.org/tests/view/
5dee291e3cff9a249bb9e470
LLR: 2.97 (-2.94,2.94) [-1.50,4.50]
Total: 19586 W: 4382 L: 4214 D: 10990
LTC
http://tests.stockfishchess.org/tests/view/
5dee4e273cff9a249bb9e473
LLR: 2.95 (-2.94,2.94) [0.00,3.50]
Total: 38840 W: 6315 L: 6036 D: 26489
Bench: 5033242