Thanks Robert
I had a feeling that was what the fact at least temporarily.
Bill
Killer Moves
Moderators: hgm, Rebel, chrisw
-
- Posts: 3562
- Joined: Thu Mar 09, 2006 3:54 am
- Location: San Jose, California
Re: Killer Moves
Hi, I haven't been on in a while been doing other things like 3D chess gui (in java), including shading/reflections/perspective, will show pics when done.
I still haven't got round to applying killer moves, but I'd like to get them done, so with some more advice, I should be able to.
Assuming I store 1 killer move per ply, then I need a single array
to store them.
Currently I have:
Hash Move,
Captures (Ordered by MVV/LVA)
Non-Captures.
So I guess if killers are non-captures, I would play the killer move after Captures, and before non-captures? Is that right?
To set a killer at a particular ply, is this done only when we have a cut off?
Eg
Also, if 2 killers were used at each ply, I guess you would have the top one as the one that had the larger value to make the cut off?
Thanks for any help
I still haven't got round to applying killer moves, but I'd like to get them done, so with some more advice, I should be able to.
Assuming I store 1 killer move per ply, then I need a single array
Code: Select all
int[] killers;
Currently I have:
Hash Move,
Captures (Ordered by MVV/LVA)
Non-Captures.
So I guess if killers are non-captures, I would play the killer move after Captures, and before non-captures? Is that right?
To set a killer at a particular ply, is this done only when we have a cut off?
Eg
Code: Select all
if(value >= beta)
{
killers[ply] = current_move;
return beta;
}
Thanks for any help
-
- Posts: 397
- Joined: Sun Oct 29, 2006 4:38 am
- Location: Schenectady, NY
Re: Killer Moves
The most recent killer is the best one.Colin wrote:
Also, if 2 killers were used at each ply, I guess you would have the top one as the one that had the larger value to make the cut off?
Thanks for any help
Ron