Computer Chess Club Archives


Search

Terms

Messages

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

Author: Dann Corbit

Date: 18:20:28 07/24/00

Go up one level in this thread


On July 24, 2000 at 21:12:59, Larry Griffiths wrote:

>On July 24, 2000 at 20:53:11, Larry Griffiths wrote:
>
>AND this is what it looks like spinning thru the piece list a piece at a time
>generating both captures and moves for that piece with the next ply returning if
>it will capture a king...
[snip]
>          Captures/Moves Per Second=      2,201,102
>
>>
>>WITH INCHECK...
[snip]
>>          Captures/Moves Per Second=      1,616,877
>>
>>WITHOUT INCHECK...
[snip]
>>          Captures/Moves Per Second=      2,213,435

2201102/2213435 =  0.9944281173832 == 99.4% efficiency.

1616877/2213435 =  0.7304831630475 = 73% efficiency.

Looks like "spinning thru the piece list a piece at a time generating both
captures and moves for that piece with the next ply returning if it will capture
a king..." is by far the best method for your engine.  Not much to be gained by
any alternatives (no more than .6%) so I would not even bother looking for
alternatives to that method.



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.