Playing board where it all happens
Precalculated table (attack.bin) read into memory for fast detection of hanging pieces (SEE).
Created in init() used in eval2.c
Row based pawn table (for white and black) indicating the rank of a pawn.
Created in init() used for mobility, king safety, pawn evaluation, detecting passed pawns.
Row based pawn table indicating the number of pawns.
Created in init() used for double isolated pawn evaluation.
Sum pieces following the 9|5|3|3|1 rule.
Created in init() among other things used for determining the game phase, enough material left for king safety.
Created in init() among other things used for the late endgame evaluation mainly.
4 = middle game
3 = middle game without queens
2 = late end game
1 = normal endgame
Created in init() and used for various evaluations.
veldwz | wpnt1 | wpnt2 | zpnt1 | zpnt2
Already introduced on the main page.
Piece Square evaluation middle game and end game.
sum material of the pieces as defined in table hsw (see table.c)
Variable used to initialize bord and read attack.bin into memory.
start position in REBEL format.
ks | kval1 | kval2 | wpaf | wpbg | zpaf | zpbg
wbit | zbit | remval | remcore
late endgame evaluation, more info.
wpm | wpe | wpl (white)
zpm | zpe | zpl (black)
pawn piece square evaluation middle game, end game, when long castle
wnm | wne (white)
znm | zne (black)
knight piece square evaluation middle game, end game.
wlm | wle (white)
zlm | zle (black)
bishop piece square evaluation middle game, end game.
wtm | wte (white)
ztm | zte (black)
rook piece square evaluation middle game, end game.
wdm | wde (white)
zdm | zde (black)
queen piece square evaluation middle game, end game.
wkm | wko | wkzk (white)
zkm | wko | wkzk (black)
king piece square evaluation middle game, middle without queens and end game.
penalty if weak pawn on open file
bonus when pawn has a connection
extra bonus when pawns connect on equal rank.
evaluate pressure on a weak pawn.