Computer Chess Club Archives




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
>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 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.