SEE and promoting attacks

Code, algorithms, languages, construction...
Post Reply
sandermvdb
Posts: 24
Joined: Wed Jun 01, 2016 3:52 pm

SEE and promoting attacks

Post by sandermvdb » Sat Aug 27, 2016 7:04 pm

I am trying to add sorting in the quiescence search by using the SEE score. I was wondering if I should raise the score when the particular move is an attacking promotion move. This seems logic to me but my search returns more nodes when I enable this. I also did not find any code or explanation where this is actually used.

hyatt
Posts: 1242
Joined: Thu Jun 10, 2010 2:13 am
Real Name: Bob Hyatt (Robert M. Hyatt)
Location: University of Alabama at Birmingham
Contact:

Re: SEE and promoting attacks

Post by hyatt » Sun Aug 28, 2016 1:48 am

The correct way is to simply update material according to what happens. IE Pxe8=Q should add +9 for queen -1 for losing the pawn that promoted, plus whatever is captures. If the opponent then captures, he subtracts 9, which leaves the SEE score at -1 for losing the pawn.

Post Reply