Killer Moves

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Bill Rogers
Posts: 3562
Joined: Thu Mar 09, 2006 3:54 am
Location: San Jose, California

Re: Killer Moves

Post by Bill Rogers »

Thanks Robert
I had a feeling that was what the fact at least temporarily.
Bill
Colin

Re: Killer Moves

Post by Colin »

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

Code: Select all

int[] killers;
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

Code: Select all

if(value >= beta)
{
     killers[ply] = current_move;
     return beta;
}
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 Murawski
Posts: 397
Joined: Sun Oct 29, 2006 4:38 am
Location: Schenectady, NY

Re: Killer Moves

Post by Ron Murawski »

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
The most recent killer is the best one.

Ron