Counter move scoring during move sort

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Counter move scoring during move sort

Post by xr_a_y »

I just added counter move heuristic in Minic (and it is a big win, around +40elo).
In Minic I sort moves like this (using a "sort score")
- TT (always first)
- good cap (1000 + mvv-lva value = 20*V-A)
- proms
- quiet killers (a 290 and 260 score bonus)
- quiet counter (250)
- quiet history (history score range from -250 to 250)
- bad cap (mvv-lva value - 2000)

I wonder how killers/counter/history can interact better. I mean this way, a killer move shall also be rewarded by a counter bonus so that the second slot might be sorted first; same hold with history.