fairystockfish.git
5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 19 Sep 2020 12:49:12 +0000]
Merge official-stockfish/master

bench: 4665603

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 19 Sep 2020 12:45:56 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 19 Sep 2020 11:41:08 +0000]
Merge official-stockfish/master

bench: 5113210

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 19 Sep 2020 09:36:55 +0000]
Merge official-stockfish/master

No functional change.

5 years agoRevise palace attacks for rook
Fabian Fichter [Wed, 16 Sep 2020 20:13:01 +0000]
Revise palace attacks for rook

janggi
Total: 500 W: 268 L: 221 D: 11

5 years agoBonus for connected soldiers
Fabian Fichter [Tue, 15 Sep 2020 21:51:18 +0000]
Bonus for connected soldiers

janggi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 644 W: 369 L: 259 D: 16

5 years agoPenalty for undroppable shogi pawns
Fabian Fichter [Mon, 14 Sep 2020 19:32:15 +0000]
Penalty for undroppable shogi pawns

shogi STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 5265 W: 2710 L: 2532 D: 23
http://www.variantfishtest.org:6543/tests/view/5f5a95fa6e23db221d9e9120

shogi LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3730 W: 1932 L: 1776 D: 22
http://www.variantfishtest.org:6543/tests/view/5f5c8fec6e23db221d9e9154

5 years agoScale evaluation for material counting
Fabian Fichter [Sun, 13 Sep 2020 18:15:56 +0000]
Scale evaluation for material counting

janggi
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1658 W: 873 L: 749 D: 36

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 13 Sep 2020 17:24:30 +0000]
Merge official-stockfish/master

No functional change.

5 years agoAdjust king PSQT based on pawn rank
Fabian Fichter [Sat, 12 Sep 2020 08:49:09 +0000]
Adjust king PSQT based on pawn rank

shogi STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 865 W: 489 L: 374 D: 2
http://www.variantfishtest.org:6543/tests/view/5f5b2c286e23db221d9e9135

shogi LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1244 W: 678 L: 558 D: 8
http://www.variantfishtest.org:6543/tests/view/5f5b5cf86e23db221d9e9145

5 years agoSoft limit on king danger
Fabian Fichter [Thu, 10 Sep 2020 19:49:11 +0000]
Soft limit on king danger

chess STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 3531 W: 759 L: 732 D: 2040
http://www.variantfishtest.org:6543/tests/view/5f51e87b6e23db221d9e907f

crazyhouse STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 1630 W: 810 L: 756 D: 64
http://www.variantfishtest.org:6543/tests/view/5f51e8e06e23db221d9e9084

crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 2750 W: 1346 L: 1300 D: 104
http://www.variantfishtest.org:6543/tests/view/5f57249f6e23db221d9e9102

3check STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 2896 W: 1369 L: 1325 D: 202
http://www.variantfishtest.org:6543/tests/view/5f51e8c36e23db221d9e9082

3check LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 6016 W: 2783 L: 2762 D: 471
http://www.variantfishtest.org:6543/tests/view/5f5724ab6e23db221d9e9104

bench: 4779259

5 years agoIncrease bonus for leapers in hand
Fabian Fichter [Thu, 10 Sep 2020 06:39:27 +0000]
Increase bonus for leapers in hand

shogi STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2062 W: 1091 L: 959 D: 12
http://www.variantfishtest.org:6543/tests/view/5f520b616e23db221d9e90a7

shogi LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2069 W: 1095 L: 963 D: 11
http://www.variantfishtest.org:6543/tests/view/5f563b0e6e23db221d9e90f8

crazyhouse STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3850 W: 1930 L: 1776 D: 144
http://www.variantfishtest.org:6543/tests/view/5f403e706e23db221d9e903c

crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 6821 W: 3352 L: 3156 D: 313
http://www.variantfishtest.org:6543/tests/view/5f520be76e23db221d9e90a9

5 years agoAdded functionality to ffish.js (closes #177)
QueensGambit [Tue, 8 Sep 2020 21:45:05 +0000]
Added functionality to ffish.js (closes #177)
+ board.fullmoveNumber()
+ board.isCheck()
+ board.isBikjang()
+ board.sanMove(notation)
+ board.variationSan(uciMoves)
+ board.variationSan(uciMoves, notation)
+ board.variationSan(uciMoves, notation, moveNumbers)
+ enum ffish.Notation
+ ffish.setOption()
+ ffish.setOptionInt()
+ ffish.setOptionBool()
+ ES6 module export

5 years agoEvaluate ungatable pieces in Seirawan
alwey [Sat, 5 Sep 2020 07:23:12 +0000]
Evaluate ungatable pieces in Seirawan

5 years agoAlways evaluate space bonus for slow variants
Fabian Fichter [Sun, 6 Sep 2020 09:02:38 +0000]
Always evaluate space bonus for slow variants

makruk STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 908 W: 111 L: 51 D: 746
http://www.variantfishtest.org:6543/tests/view/5f5203ed6e23db221d9e90a2

makruk LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 839 W: 82 L: 25 D: 732
http://www.variantfishtest.org:6543/tests/view/5f5387446e23db221d9e90e6

shatranj STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1180 W: 143 L: 81 D: 956
http://www.variantfishtest.org:6543/tests/view/5f5204066e23db221d9e90a5

shatranj LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1026 W: 113 L: 53 D: 860
http://www.variantfishtest.org:6543/tests/view/5f53ab6a6e23db221d9e90ea

losalamos STC
LLR: 3.00 (-2.94,2.94) [-10.00,5.00]
Total: 1171 W: 312 L: 272 D: 587
http://www.variantfishtest.org:6543/tests/view/5f5295db6e23db221d9e90bd

5 years agoRevert repetition handling for janggimodern
Fabian Fichter [Sat, 5 Sep 2020 11:15:57 +0000]
Revert repetition handling for janggimodern

For better compatibility with rules in Kakao Janggi,
revert the repetition handling for janggimodern.

This does not affect the other Janggi rulesets.

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 22:32:10 +0000]
Merge official-stockfish/master

bench: 4379669

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 22:15:48 +0000]
Merge official-stockfish/master

bench: 4839910

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 21:55:51 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 21:49:43 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 21:43:11 +0000]
Merge official-stockfish/master

5 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 3 Sep 2020 19:12:25 +0000]
Merge official-stockfish/master

bench: 4777225

5 years agoConsider material density in king safety
Fabian Fichter [Thu, 27 Aug 2020 20:45:45 +0000]
Consider material density in king safety

Scale king danger of drop variants by material density
and thereby remove magic correction factors.

euroshogi STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 2735 W: 1417 L: 1276 D: 42
http://www.variantfishtest.org:6543/tests/view/5f3fd4266e23db221d9e902e

euroshogi LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1427 W: 760 L: 639 D: 28
http://www.variantfishtest.org:6543/tests/view/5f46e1076e23db221d9e9045

shogi STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 6037 W: 3098 L: 2909 D: 30
http://www.variantfishtest.org:6543/tests/view/5f3fabca6e23db221d9e9013

shogi LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 917 W: 487 L: 425 D: 5
http://www.variantfishtest.org:6543/tests/view/5f46b5236e23db221d9e9043

judkins STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2936 W: 1430 L: 1292 D: 214
http://www.variantfishtest.org:6543/tests/view/5f3fd48d6e23db221d9e9030

5 years agoadded -DLARGEBOARDS support
QueensGambit [Wed, 26 Aug 2020 17:58:52 +0000]
added -DLARGEBOARDS support

5 years agoTweak king proximity
Fabian Fichter [Tue, 25 Aug 2020 21:41:57 +0000]
Tweak king proximity

shogi STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2506 W: 1314 L: 1176 D: 16
http://www.variantfishtest.org:6543/tests/view/5f3fb2cb6e23db221d9e9018

shogi LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 976 W: 546 L: 429 D: 1
http://www.variantfishtest.org:6543/tests/view/5f435c1e6e23db221d9e903e

crazyhouse STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 18825 W: 9170 L: 8999 D: 656
http://www.variantfishtest.org:6543/tests/view/5ee348126e23db104fb88ada

crazyhouse LTC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 13908 W: 6715 L: 6614 D: 579
http://www.variantfishtest.org:6543/tests/view/5ee68ebb6e23db104fb88bad

5 years agoMerge official-stockfish/master
Fabian Fichter [Tue, 25 Aug 2020 20:53:34 +0000]
Merge official-stockfish/master

5 years agoupdated ffish.js for initial npm version
QueensGambit [Sun, 23 Aug 2020 17:56:19 +0000]
updated ffish.js for initial npm version
+ added ffish.info() with test
+ added ES6 compile instructions to README.md
+ updated package.json

5 years agoFix pieceToCharTable for Janus
Fabian Fichter [Thu, 20 Aug 2020 16:52:35 +0000]
Fix pieceToCharTable for Janus

Thanks to @alwey for reporting.

5 years agoFix undo_move for arrow gating
Fabian Fichter [Sat, 15 Aug 2020 17:11:34 +0000]
Fix undo_move for arrow gating

5 years agoExclude Game of the Amazons by default
Fabian Fichter [Sat, 15 Aug 2020 14:06:57 +0000]
Exclude Game of the Amazons by default

Avoids big stack size for standard builds.

5 years agoSupport Game of the Amazons
Fabian Fichter [Sat, 15 Aug 2020 09:58:26 +0000]
Support Game of the Amazons

https://en.wikipedia.org/wiki/Game_of_the_Amazons

bench: 4413936

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 14 Aug 2020 13:55:48 +0000]
Merge official-stockfish/master

bench: 5082623

5 years agoSimplify handling special riders
Fabian Fichter [Fri, 14 Aug 2020 13:45:40 +0000]
Simplify handling special riders

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 14 Aug 2020 13:15:08 +0000]
Merge official-stockfish/master

No functional change.

5 years agoFix pseudo-legal move validation for Janggi
Fabian Fichter [Wed, 12 Aug 2020 20:31:20 +0000]
Fix pseudo-legal move validation for Janggi

Closes #170.

5 years agoSpeed up perft tests in Travis CI
Fabian Fichter [Tue, 11 Aug 2020 05:49:52 +0000]
Speed up perft tests in Travis CI

5 years agoFix Visual Studio linker error
Fabian Fichter [Tue, 11 Aug 2020 05:38:18 +0000]
Fix Visual Studio linker error

Closes #169.

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 10 Aug 2020 20:54:39 +0000]
Merge official-stockfish/master

bench: 4822192

5 years agoMerge official-stockfish/master
Fabian Fichter [Mon, 10 Aug 2020 20:35:47 +0000]
Merge official-stockfish/master

Merge new time management.

5 years agoDisable shallow depth pruning of captures
Fabian Fichter [Mon, 10 Aug 2020 17:14:51 +0000]
Disable shallow depth pruning of captures

giveaway STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 733 W: 315 L: 224 D: 194
http://www.variantfishtest.org:6543/tests/view/5f300b6e6e23db104fb88ea3

giveaway LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1300 W: 522 L: 424 D: 354
http://www.variantfishtest.org:6543/tests/view/5f3013386e23db104fb88eb2

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 16:00:19 +0000]
Merge official-stockfish/master

bench: 4877370

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 13:41:02 +0000]
Merge official-stockfish/master

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 13:05:49 +0000]
Merge official-stockfish/master

bench: 4988792

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 12:45:16 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 10:35:44 +0000]
Merge official-stockfish/master

bench: 4542650

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 9 Aug 2020 10:13:53 +0000]
Merge official-stockfish/master

bench: 5678334

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 8 Aug 2020 21:07:38 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 7 Aug 2020 16:17:08 +0000]
Merge official-stockfish/master

bench: 4959597

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 7 Aug 2020 16:01:07 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Fri, 7 Aug 2020 15:43:26 +0000]
Merge official-stockfish/master

No functional change.

5 years agoTweak LMR for drop variants
Fabian Fichter [Fri, 7 Aug 2020 11:56:18 +0000]
Tweak LMR for drop variants

crazyhouse STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 27169 W: 13361 L: 12871 D: 937
http://www.variantfishtest.org:6543/tests/view/5f13332a6e23db104fb88e04

crazyhouse LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2197 W: 1118 L: 988 D: 91
http://www.variantfishtest.org:6543/tests/view/5f1415e26e23db104fb88e17

5 years agoUpdate readme
Fabian Fichter [Thu, 6 Aug 2020 21:24:23 +0000]
Update readme

5 years agoSupport Ataxx
Fabian Fichter [Thu, 6 Aug 2020 20:25:52 +0000]
Support Ataxx

https://en.wikipedia.org/wiki/Ataxx

bench: 5499014

5 years agoClear move deque on setboard
Fabian Fichter [Tue, 28 Jul 2020 21:09:33 +0000]
Clear move deque on setboard

Prevent undefined behavior on `undo` in CECP.

Closes #165.

5 years agoDouble mobility bonus for nCheck
Fabian Fichter [Tue, 28 Jul 2020 16:45:19 +0000]
Double mobility bonus for nCheck

3check STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2999 W: 1487 L: 1347 D: 165
http://www.variantfishtest.org:6543/tests/view/5f1449956e23db104fb88e31

3check LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3080 W: 1500 L: 1360 D: 220
http://www.variantfishtest.org:6543/tests/view/5f15f4096e23db104fb88e3f

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 13:47:07 +0000]
Merge official-stockfish/master

bench: 4507590

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 13:42:32 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 12:54:43 +0000]
Merge official-stockfish/master

bench: 5255035

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 10:44:36 +0000]
Merge official-stockfish/master

bench: 5126336

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 09:59:11 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 08:33:59 +0000]
Merge official-stockfish/master

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 18 Jul 2020 08:33:12 +0000]
Merge official-stockfish/master

bench: 5054568

5 years agoUpdate reference bench
Fabian Fichter [Sun, 12 Jul 2020 18:19:40 +0000]
Update reference bench

bench: 4964428

5 years agoTweak futility pruning for extinction variants
Fabian Fichter [Sun, 12 Jul 2020 16:13:40 +0000]
Tweak futility pruning for extinction variants

extinction STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 312 W: 196 L: 96 D: 20
http://www.variantfishtest.org:6543/tests/view/5f0ac6906e23db104fb88d83

extinction LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 491 W: 258 L: 162 D: 71
http://www.variantfishtest.org:6543/tests/view/5f0af0ff6e23db104fb88d92

threekings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 250 W: 89 L: 23 D: 138
http://www.variantfishtest.org:6543/tests/view/5f0ac6ac6e23db104fb88d86

threekings LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 179 W: 71 L: 9 D: 99
http://www.variantfishtest.org:6543/tests/view/5f0af0f46e23db104fb88d90

kinglet STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 735 W: 373 L: 271 D: 91
http://www.variantfishtest.org:6543/tests/view/5f0af14f6e23db104fb88d94

5 years agoAdd version() to pyffish
Bajusz Tamás [Thu, 9 Jul 2020 15:53:55 +0000]
Add version() to pyffish

5 years agoxboard: add engine version to 'myname' feature
Yann Dirson [Sat, 4 Jul 2020 12:36:12 +0000]
xboard: add engine version to 'myname' feature

5 years agoTweak evaluation of stable disks
Fabian Fichter [Sat, 4 Jul 2020 13:22:21 +0000]
Tweak evaluation of stable disks

reversi
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 624 W: 351 L: 244 D: 29

5 years agoExtend definition of stable disks
Fabian Fichter [Sat, 4 Jul 2020 09:04:52 +0000]
Extend definition of stable disks

reversi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 422 W: 255 L: 150 D: 17

5 years agoEvaluate potential piece flips
Fabian Fichter [Fri, 3 Jul 2020 21:17:00 +0000]
Evaluate potential piece flips

reversi
LLR: 3.00 (-2.94,2.94) [0.00,10.00]
Total: 268 W: 178 L: 76 D: 14

5 years agoSkip NMP for reversi
Fabian Fichter [Fri, 3 Jul 2020 14:19:41 +0000]
Skip NMP for reversi

reversi
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 280 W: 174 L: 78 D: 28

5 years agoReduce value of immobile piece
Fabian Fichter [Fri, 3 Jul 2020 13:43:34 +0000]
Reduce value of immobile piece

reversi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 244 W: 165 L: 65 D: 14

5 years agoTweak drop mobility
Fabian Fichter [Fri, 3 Jul 2020 13:05:24 +0000]
Tweak drop mobility

reversi
Total: 100 W: 99 L: 1 D: 0

5 years agoBonus for corner squares
Fabian Fichter [Fri, 3 Jul 2020 11:37:41 +0000]
Bonus for corner squares

reversi
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 104 W: 100 L: 3 D: 1

5 years agoSupport Othello/Reversi
Fabian Fichter [Fri, 3 Jul 2020 10:58:13 +0000]
Support Othello/Reversi

5 years agoDecrease mobility bonus for fairy pieces
Fabian Fichter [Thu, 2 Jul 2020 19:22:25 +0000]
Decrease mobility bonus for fairy pieces

seirawan STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1991 W: 763 L: 657 D: 571
http://www.variantfishtest.org:6543/tests/view/5efa2fb26e23db104fb88c8b

seirawan LTC
LLR: 3.11 (-2.94,2.94) [0.00,10.00]
Total: 1552 W: 559 L: 459 D: 534
http://www.variantfishtest.org:6543/tests/view/5efb8cb86e23db104fb88ca7

shatranj STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1656 W: 200 L: 134 D: 1322
http://www.variantfishtest.org:6543/tests/view/5efb1d676e23db104fb88c92

shatranj LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1482 W: 165 L: 102 D: 1215
http://www.variantfishtest.org:6543/tests/view/5efb8cd16e23db104fb88ca9

makruk STC
LLR: 3.00 (-2.94,2.94) [-10.00,5.00]
Total: 6773 W: 519 L: 495 D: 5759
http://www.variantfishtest.org:6543/tests/view/5efb489a6e23db104fb88c9b

5 years agoUpdate readme
Fabian Fichter [Wed, 1 Jul 2020 09:46:13 +0000]
Update readme

5 years agoProvide WDL statistics
Joost VandeVondele [Sat, 27 Jun 2020 19:29:29 +0000]
Provide WDL statistics

A number of engines, GUIs and tournaments start to report WDL estimates
along or instead of scores. This patch enables reporting of those stats
in a more or less standard way (http://www.talkchess.com/forum3/viewtopic.php?t=72140)

The model this reporting uses is based on data derived from a few million fishtest LTC games,
given a score and a game ply, a win rate is provided that matches rather closely,
especially in the intermediate range [0.05, 0.95] that data. Some data is shown at
https://github.com/glinscott/fishtest/wiki/UsefulData#win-loss-draw-statistics-of-ltc-games-on-fishtest
Making the conversion game ply dependent is important for a good fit, and is in line
with experience that a +1 score in the early midgame is more likely a win than in the late endgame.

Even when enabled, the printing of the info causes no significant overhead.

Passed STC:
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 197112 W: 37226 L: 37347 D: 122539
Ptnml(0-2): 2591, 21025, 51464, 20866, 2610
https://tests.stockfishchess.org/tests/view/5ef79ef4f993893290cc146b

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

No functional change

5 years agoTweak endgame scale factor
Fabian Fichter [Tue, 30 Jun 2020 17:27:58 +0000]
Tweak endgame scale factor

makruk STC
LLR: 2.99 (-2.94,2.94) [0.00,10.00]
Total: 2918 W: 272 L: 203 D: 2443
http://www.variantfishtest.org:6543/tests/view/5ef3c19a6e23db104fb88c5f

makruk LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 8027 W: 495 L: 416 D: 7116
http://www.variantfishtest.org:6543/tests/view/5ef3c8db6e23db104fb88c68

5 years agoTweak single queen endgame scaling.
Stefan Geschwentner [Mon, 29 Jun 2020 17:35:24 +0000]
Tweak single queen endgame scaling.

Increase scaling factor for each minor of the opponent side of the queen.

STC:
LLR: 2.94 (-2.94,2.94) {-0.50,1.50}
Total: 14528 W: 2860 L: 2653 D: 9015
Ptnml(0-2): 217, 1632, 3408, 1741, 266
https://tests.stockfishchess.org/tests/view/5ef98384020eec13834a96a0

LTC:
LLR: 2.95 (-2.94,2.94) {0.25,1.75}
Total: 34584 W: 4371 L: 4111 D: 26102
Ptnml(0-2): 205, 3080, 10501, 3262, 244
https://tests.stockfishchess.org/tests/view/5ef99972020eec13834a96c9

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

Bench: 4523573

5 years agoFix link in readme
Fabian Fichter [Mon, 29 Jun 2020 17:16:59 +0000]
Fix link in readme

5 years agoAdd ffish.js to readme
Fabian Fichter [Mon, 29 Jun 2020 17:14:38 +0000]
Add ffish.js to readme

5 years agoAdded initial version of ffish.js
QueensGambit [Mon, 29 Jun 2020 12:22:45 +0000]
Added initial version of ffish.js

5 years agoScale down eval for queen imbalance
Stéphane Nicolet [Sun, 28 Jun 2020 20:24:57 +0000]
Scale down eval for queen imbalance

We lower the endgame value of the evaluation when we detect that there
is only one queen left on the board (more precisely, we use a scale
factor of 37/64, or about 0.58, for the endgame part of the evaluation).
Hopefully this helps a little bit for the assessment of positions with
queen imbalance, which are one of the well-known Stockfish weaknesses.

STC:
LLR: 2.94 (-2.94,2.94) {-0.50,1.50}
Total: 21600 W: 4176 L: 3955 D: 13469
Ptnml(0-2): 351, 2457, 5003, 2598, 391
https://tests.stockfishchess.org/tests/view/5ef871b6020eec13834a94e8

LTC:
LLR: 2.97 (-2.94,2.94) {0.25,1.75}
Total: 248328 W: 30596 L: 29720 D: 188012
Ptnml(0-2): 1544, 22345, 75665, 22911, 1699
https://tests.stockfishchess.org/tests/view/5ef87aec020eec13834a94fe

Closes https://github.com/official-stockfish/Stockfish/pull/2781

Bench: 4441323

5 years agoScale down eval for drawish rook endgames.
Stefan Geschwentner [Sun, 28 Jun 2020 14:28:55 +0000]
Scale down eval for drawish rook endgames.

STC:
LLR: 2.96 (-2.94,2.94) {-0.50,1.50}
Total: 82136 W: 15694 L: 15407 D: 51035
Ptnml(0-2): 1076, 8960, 20767, 9131, 1134
https://tests.stockfishchess.org/tests/view/5ef86cf8020eec13834a94dd

LTC:
LLR: 2.93 (-2.94,2.94) {0.25,1.75}
Total: 70200 W: 8787 L: 8440 D: 52973
Ptnml(0-2): 325, 5983, 22170, 6264, 358
https://tests.stockfishchess.org/tests/view/5ef88225020eec13834a950a

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

Bench: 4478869

5 years agoIncrease value of pawns on fifth rank
Stéphane Nicolet [Sun, 28 Jun 2020 04:00:28 +0000]
Increase value of pawns on fifth rank

This patch increases the endgame value of pawns on the fifth rank.
The increase is very small (+1 evaluation point, about 0.005 pawn)
for the pawns on external columns (a-b-c-f-g-h) and a bit bigger
(+7 evaluation points, about 0.033 pawn) for the pawns on d5/e5.

STC:
LLR: 2.93 (-2.94,2.94) {-0.50,1.50}
Total: 79864 W: 15331 L: 15027 D: 49506
Ptnml(0-2): 1336, 9284, 18433, 9498, 1381
https://tests.stockfishchess.org/tests/view/5ef73e2ef993893290cc0c47

LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.75}
Total: 47240 W: 5927 L: 5630 D: 35683
Ptnml(0-2): 320, 4133, 14440, 4384, 343
https://tests.stockfishchess.org/tests/view/5ef7c0c4f993893290cc14b7

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

Bench: 4794633

5 years agoRemove old zobrist trick for castling rights
mstembera [Fri, 26 Jun 2020 05:08:17 +0000]
Remove old zobrist trick for castling rights

Removes an 8 year old micro optimization aimed at 32-bit architectures
because back then doing an xor of a Key could not be done in one instruction.
See original commit here 821e1c7

STC https://tests.stockfishchess.org/tests/view/5ef5833dde213bf647527d0c
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 162648 W: 31053 L: 31097 D: 100498
Ptnml(0-2): 2841, 18966, 37715, 19000, 2802

LTC https://tests.stockfishchess.org/tests/view/5ef7b1bbf993893290cc1489
LLR: 2.93 (-2.94,2.94) {-1.50,0.50}
Total: 62360 W: 7617 L: 7586 D: 47157
Ptnml(0-2): 423, 5662, 18994, 5663, 438

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

bench: 4591425

5 years agoFix fragile code to use proper random 64 bit keys.
mstembera [Sat, 27 Jun 2020 00:26:46 +0000]
Fix fragile code to use proper random 64 bit keys.

This fixes an old issue where we want to make a position unique but only
change a small number of bits in the key instead of all 64 of them randomly.
This is fragile and can lead to non uniqueness issues in the TT.

Key make_key(uint64_t seed) takes any integer and produces a unique random 64 bit key.
It is computationally efficient and is based on a congruential pseudo random number
generator using well tested constants by Donald Knuth
(see https://en.wikipedia.org/wiki/Linear_congruential_generator)

STC https://tests.stockfishchess.org/tests/view/5ef6c78f761b685b4c724bb6
LLR: 2.95 (-2.94,2.94) {-1.50,0.50}
Total: 154320 W: 29343 L: 29376 D: 95601
Ptnml(0-2): 2543, 18170, 35891, 17889, 2667

LTC https://tests.stockfishchess.org/tests/view/5ef7d1a9020eec13834a940e
LLR: 2.95 (-2.94,2.94) {-1.50,0.50}
Total: 53488 W: 6629 L: 6584 D: 40275
Ptnml(0-2): 372, 4878, 16183, 4955, 356

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

bench: 4626776

5 years agoTweak futility pruning at parent node
Fabian Fichter [Sun, 28 Jun 2020 15:23:29 +0000]
Tweak futility pruning at parent node

3check STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3951 W: 1916 L: 1763 D: 272
http://www.variantfishtest.org:6543/tests/view/5eed14286e23db104fb88bee

3check LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 10074 W: 4762 L: 4523 D: 789
http://www.variantfishtest.org:6543/tests/view/5eefa6e56e23db104fb88c44

5 years agoFurther simplification of variant definitions
Fabian Fichter [Sun, 28 Jun 2020 15:10:19 +0000]
Further simplification of variant definitions

No functional change.

5 years agoSimplify Janggi rule definition
Fabian Fichter [Sun, 28 Jun 2020 14:58:48 +0000]
Simplify Janggi rule definition

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 28 Jun 2020 13:40:37 +0000]
Merge official-stockfish/master

No functional change.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 28 Jun 2020 13:13:34 +0000]
Merge official-stockfish/master

No functional change.

5 years agoSimplify passed pawn evaluation
Fabian Fichter [Sat, 27 Jun 2020 16:42:04 +0000]
Simplify passed pawn evaluation

No functional change.

5 years agoRevert LTO for mingw on windows.
Joost VandeVondele [Sat, 27 Jun 2020 06:23:46 +0000]
Revert LTO for mingw on windows.

LTO with static linking is still only working with the latest versions of gcc,
causing problems for some devs.

on a modern mingw toolchain LTO optimizations can still be enabled as:

```
CXXFLAGS='-flto' make -j ARCH=x86-64-modern COMP=mingw profile-build
```

fixes https://github.com/official-stockfish/Stockfish/issues/2769

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

No functional change.

5 years agosupport popcnt on armv8
Niklas Fiekas [Thu, 25 Jun 2020 10:42:25 +0000]
support popcnt on armv8

* Supports popcnt (thanks @daylen)
* bits = 64 is now the default

Tested with g++ (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0 on ThunderX CN8890,
yields about 9% speedup.

Also tested with clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final).

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

No functional change.

5 years agoSimplify use_time_management() and allow composing
Niklas Fiekas [Wed, 24 Jun 2020 21:03:00 +0000]
Simplify use_time_management() and allow composing

like other `go` commands wtime/btime can now be composed.

`go depth 10 wtime 100`

will let the engine use standard time management but stop if depth 10 is reached.

fixes https://github.com/official-stockfish/Stockfish/issues/2767

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

No functional change

5 years agoSmall cleanups
Joost VandeVondele [Wed, 24 Jun 2020 20:19:58 +0000]
Small cleanups

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

No functional change

5 years agoMakefile: support lto on mingw, default to 64bits
UnaiCorzo [Tue, 23 Jun 2020 15:56:38 +0000]
Makefile: support lto on mingw, default to 64bits

Clean and organize uppercase and spaces

fixes https://github.com/official-stockfish/Stockfish/issues/2731

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

No functional change

5 years agoRemove 'Minimum Thinking Time' UCI option.
Joost VandeVondele [Wed, 24 Jun 2020 14:23:31 +0000]
Remove 'Minimum Thinking Time' UCI option.

the option was, since at least 2014, not correctly implemented,
ignoring all dynamic adjustments to optimum time in search.
Instead of fixing it, remove it, no need to expose an option that
will influence time management negatively.

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

No functional change.

5 years agoSupport ARCH=armv8 in Makefile (#2355)
Niklas Fiekas [Tue, 23 Jun 2020 08:41:53 +0000]
Support ARCH=armv8 in Makefile (#2355)

Tested with bench run after compiling with

- g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
- clang version 3.8.1-24

on ThunderX CN8890.

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

fixes https://github.com/official-stockfish/Stockfish/issues/2355

No functional change.