Author: Andrew Platt
Date: 10:14:49 08/20/04
Go up one level in this thread
A couple of points. If you are only expecting input from a GUI that's running your engine it's your call if you make it accept SAN or not. It's certainly easier just to keep accepting g1f3 instead of Nf3. I spent a bunch of time making it accept SAN in my engine purely for my benefit. When I am running the engine directly so I can access my additional debug commands, I like to type Nf3. Bob detailed how Crafty does it but that's not the only pondering model. In my engine the "game" holds the current position and the "search" holds another. When a move is input in ponder mode I'm using the position from the game to do the comparison - it's actually in a different thread from the engine running. Only when that does a successful conversion does it tell the engine that the move has been made - by that point it's in an internal format and can just compare to the ponder move. Anyway, the only reason I mention it is if your input model differs from Crafty. Andy.
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.