Author: Bert van den Bosch
Date: 11:12:27 09/24/04
Go up one level in this thread
On September 24, 2004 at 13:54:58, Michael Henderson wrote: >I have the latest winboard and I seem to be having some consistency problems >with the "go" command. If it's a new game and I am white, the first move I play >is sent to Pluto(my engine). No go command is sent, which is fine since my >engine will think and make a move anyway. > >When I match GNUchess vs Pluto, there are problems. GNUchess is white and makes >the first move, then that move and the go command are sent to Pluto. First, >Pluto takes the move and makes a move of its own on the board, and then the "go" >command makes it play as white--then it messes up. > >What's the best solution for this? > >thanks, >Michael I have 2 variables: onmove and curcolor. onmove is the color that is on the move, so that will be white in startup position, curcolor is the computers color. At the "new" command I set curcolor to black and onmove to white. At the go command I set curcolor = onmove; And than you compute all moves for curcolor. greetings Bert
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.