Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Maximum Number of Legal Moves

Author: Dann Corbit

Date: 12:36:50 05/09/05

Go up one level in this thread


On May 09, 2005 at 10:23:06, James Swafford wrote:

>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?
>
>Actually, I have a global move stack moves[MOVE_STACK] with MOVE_STACK
>#DEFINE'd as something like 20000.
>
>Not sure what I was thinking about above. :-/

Well, at least you would never overflow the array with a list of possible moves.

Are you sure that it is not holding the list of moves in the game (perhaps along
with the current move list)?

C99 has variant arrays.



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.