Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Must I do KingInCheck after every move when using BitBoards ?

Author: Larry Griffiths

Date: 14:46:18 07/24/00

Go up one level in this thread


On July 24, 2000 at 14:30:53, Robert Hyatt wrote:

Hmm... The Lady or the Tiger...

>
>It depends on how you implement your search.  There is nothing wrong with
>making moves that are illegal, and then at the next ply you capture the king
>and return a value that says "that move was illegal, ignore it."
>

Yuk, Gag, Puk! Dont like this approach.  Its the Tiger for sure.

>Or you can check for in check after a move...  It doesn't matter as far as
>playing legal chess goes, it simply becomes a matter of efficiency and how you
>want to write the search code.

Do I smell Perfume :) Must be the Lady...

This is my current approach and I must make it more efficent :)

Larry.



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