Author: Dann Corbit
Date: 11:18:22 05/10/05
Go up one level in this thread
On May 10, 2005 at 14:08:41, Robert Hyatt wrote: >On May 10, 2005 at 12:27:13, Dann Corbit wrote: > >>[D]rnbqkbnr/qqqqqqqq/qqqqqqqq/QqQqQqQq/QqQqQqQq/QQQQQQQQ/QQQQQQQQ/RNBQKBNR w >>KQkq - >> >>setboard rnbqkbnr/qqqqqqqq/qqqqqqqq/QqQqQqQq/QqQqQqQq/QQQQQQQQ/QQQQQQQQ/RNBQKBNR >>w KQkq - >>go >> >>Crashed so far: >>Crafty >>Shredder >>Beowulf >> >>Gandalf did not crash but (understandably) has been pounding away trying to >>finish ply 1 for about 8 minutes so far. > > >I don't try to handle illegal positions. My scores and so forth are based on >legal positions and can overflow and wreck things like the transposition table, >some one-byte material counters, and so forth, when the position contains >illegal elements, such as > 9 queens (actually it will handle beyond 9 queens, >just not 30.. I agree that it is a ridiculous position. In fact, if you try to process it with crafty's EPD processor, it immediately spits out the fact that the position is illegal. Under setboard, the program simply crashes. It would be better if crafty checked for bad inputs and diagnosed the problem. But most programs die a horrible death on this one. Some obvious tests for normal chess: 1. Rooks of one color <= 10 2. Knights of one color <= 10 3. Bishops of one color <= 10 4. Exactly one king of each color 5. At most 9 queens of one color 6. At most 8 pawns of one color 7. Total chessmen <= 32 Unless you want to allow absurd positions
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.