Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Test suite for move generation

Author: Albert Bertilsson

Date: 02:18:06 03/04/04

Go up one level in this thread


Hi!

I don't think you need many positions to verify your movegen, 5-10 will find you
most of the bugs.

To really iron out bugs in the movegen I suggest the following aproach:
Have a command that does perft for all the legal positions in a certain
position, and prints the values like this (initial position):
Move A2A3 XYZ moves
Move A2A4 XYZ moves
...

Then use another engine that also can do this (Sharper has a command "Divide"
that produce the same list).

Use the positions at Peter's or Sharper's home page and test your engine. When
you find a bug, find out excactly why it happens and fix it.

/Regards Albert



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.