Author: Jaime Benito de Valle Ruiz
Date: 18:27:01 08/10/03
Go up one level in this thread
On August 10, 2003 at 21:03:18, Johan Wessfeldt wrote: >jO! > >Im working on a chessengine in java and I'm pretty much done with my move >generation algorithms.(Took awhile to complete.. :] ) > >Are there any common tests ppl use to test their chess engines with to see how >fast it is? (Not how smart it is) > >Like.. creating 1.000.000 move-lists out of preset chess position. >Could be fun to see if my engine(or java) is good or not :] Try the option "perft" that many chess engines have (e.g. Crafty, List). For example, if at the beginning of a game you enter "perft 5", the engine will calculate all possible legal moves up to depth 5 using brute force (no alpha-beta or other prunning), then it will return the total leaves found, and the time that it took to scan them all (Some engines will give you only the total of positions and not the time, though). This can be used not only to compare the performance, but to find bugs in the move generation, make and unmake funcionts: The total number of positions should be the same in all programs. Regards, Jaime
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.