Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A few questions

Author: Daniel Clausen

Date: 03:01:52 08/26/04

Go up one level in this thread


On August 26, 2004 at 05:42:04, Peter Fendrich wrote:

[snip]

>1) In Terra I have a random-function almost unchanged copied from som early
>version of Crafty.
>The function in Crafty is based on Knuth's algorithm.
>2) I also copied the input_move function from Crafty but couldn't use it
>because of my different structure from Crafty. I did re-write it completely
>but kept the idea of how to interpret an input move w.th of the move generator.

I use Craftys implementation to get random numbers too. (and posted it some days
ago) I don't see any problem with that really, since it doesn't contain any
chess knowledge and is well-defined. _Anyone_ can grab a book where Knuths
algorithm is described and just type it in.

The function to interpret an input move is trivial as well. (IMHO, YMMV)

Sargon



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.