Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Do you use illigal moves in the ply zero and 1?

Author: José Carlos

Date: 08:24:18 11/23/99

Go up one level in this thread


On November 22, 1999 at 19:05:13, leonid wrote:

>Hi!
>
>Was puzzled few times by finding that many logics use illegal moves and
>succesfully. Until now I used this kind of moves only in the ply zero. Expect to
>rewrite my logic completelly with usage of illegal moves in every ply. Until now
>was too busy to reach this programming. But before I even start, I have one
>doubt. Do really games, that use illegal moves, goes with the same moves for the
>ply zero and one? Or do they use on ply one, for instance, legal moves for some
>reason? I am asking this because ply zero and one, anyway, are responsable for
>the biggest par of the speed in the game.
>
>Thanks for response,
>Leonid.

  I'm not sure if I've understood you, but I'll tell you what I do: my MakeMove
function checks for legality, and undoes the move if it is illegal. So I
generate illegal moves, but unmake them even before finishing making them. In
that case case, my Makemove function returns false, and I know I must go for the
next one in the list.

  José C.



This page took 0 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.