Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Maximum Number of Legal Moves

Author: Dann Corbit

Date: 11:55:41 05/09/05

Go up one level in this thread


On May 09, 2005 at 10:04:41, James Swafford wrote:

>I am glad you asked this question.  I've always used 250 it's
>worked out ok, but I've never proven to myself that 250 is a safe
>bound.
>
>Is anybody using a hard limit > 250?

255 is used in several engines.  It is an obvious choice because an unsigned
char can still hold it (0-255).  For that reason, there is very little expense
to it.  You could easily make it 256, by adding 1 to the unsigned char (minimum
of zero makes no sense, after all) but the added complexity has nothing of
importance to offer since 218 is the maximum anyone has achieved and so 256 is
very unlikely to occur.



This page took 0.14 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

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