Increase centralization bonus of bare King
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 9 Oct 2014 16:48:22 +0000 (18:48 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 9 Oct 2014 17:04:50 +0000 (19:04 +0200)
commit04cab86f1aaa0720980153e862ce8641beee489b
tree59764c95a3dcf75013736ae4efeb47e1521a4ab2
parent88dc8e222151bd89a99815735189eab5454f0aad
Increase centralization bonus of bare King

Any bare King is detected before starting the search, by counting
pieces. Its centralization points are then multiplied by 5. In addition
null move is switched off by faking material count R = 4. This helps
a lot in Makruk KNFFK end-games. The hash table is invalidated to soften
the shock of that.
 This can only work when white and black King are defined as different
pieces, and the feature is triggered by piece 3 and 4 being royal.
fairymax.c