marekpiotradamczyk / bestiazwroclawia

7 stars 7 forks source link

Move order - Captures + MVV LVA #29

Open mateusz2173 opened 4 months ago

mateusz2173 commented 4 months ago

We'd like traverse moves in specific order. The move which is most likely the best move is PV (Principal Variation) move, meaning main move in our search line. Captures are more likely to improve alpha than other moves, therefore evaluating them right after PV move would cause more tree cutoffs in average

DoD:

https://www.chessprogramming.org/MVV-LVA

Hint: Position is PV node iff beta - alpha <= 1 (meaning alpha ~= beta)