Author: Inmann Werner
Date: 03:05:13 11/24/99
Go up one level in this thread
On November 23, 1999 at 16:52:36, leonid wrote: >On November 23, 1999 at 15:02:49, Inmann Werner wrote: > >>On November 23, 1999 at 13:09:40, leonid wrote: >> >>>On November 23, 1999 at 08:42:41, Inmann Werner wrote: >>> >>>>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. >>>> >>>>Hello >>>> >>>>1) Do as you want... >>>>2) I use always also the illegal moves. On the next depth then i find a mate >>>>what kills the illegal move. So the cost IMHO is not much. >>>> >>>>Werner >>> >>>Hi, >>> >>>Please say me (to be sure) what says abreviation IMHO ? >>> >>>Also, probably, you want to say that when you find on the next ply that king was >>>taken you cancel the move? Something equal to say that mate took place. Right? >>> >>>Don't be surprise about my questions. I found many time in my programming that >>>my guessing was wrong. >>> >>>Leonid. >> >>That was the point :-) >> >>Werner > > >But how about the ply 1? Just before the lowest one. Do you use in the ply one >(or as far as you know after the theory) do people use the legal or illegal >moves? > >After what I could see and find, presumably, in this ply usage of illegal moves >could lead to the big lost of time. I hope that I am wrong. But after what I >see, all moves in the ply one, for highest speed, should be done this way: > >1) All legal. >1) Checking moves frist, material advantage second, neutral at the end. > >Leonid. As far I understand your issue I try best to answer (difficult for us non english...) First, I think there are many different ways to do. 1) I generate all pseudolegal moves. 2) I call alpha-beta 3) first thing in alpha-beta is, that i check for checks and mate. I do this at every depth. Only reason is, that it is easier for me to check this in alpha-beta than in the generator. There I would have to try the move and check it. I make one exception of this: If I am in Check, I have a own move generator who himself checks, if there is a move which not leads to mate. This only was a "very slight" improvment. Werner
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.