Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Fast way to sort moves in movelist ?

Author: Jari Huikari

Date: 02:56:45 10/15/99

Go up one level in this thread


On October 14, 1999 at 16:37:49, Frank Schneider wrote:

>What do others do?

(In the root I sort moves according to their scores, which doesn't take
 much time anyway.)

Elsewhere: In move generation I give a number of priority for each generated
move. e.g. if pawn captures queen, its priority is 1, non-captures priority
is 7 and so on... Then in search routine I have a loop I:=1 to 7 and I
try in the first round the moves of priority 1, then those of priority 2etc.
So I don't have to sort the moves.

					Jari



This page took 0.03 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.