SEE and promoting attacks
-
- Posts: 24
- Joined: Wed Jun 01, 2016 3:52 pm
SEE and promoting attacks
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.
-
- 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
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.