aole / evolchess

Automatically exported from code.google.com/p/evolchess
0 stars 0 forks source link

Incorporate 'force' and 'go' commands from xboard #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
url:

http://tim-mann.org/xboard/engine-intf.html#8

Original issue reported on code.google.com by bhupendr...@gmail.com on 5 May 2009 at 6:43

GoogleCodeExporter commented 8 years ago
Make a variable that tells for which side the engine has to move.
Possible values for the variable:
1. none: both side are operated by the user
2. black: engine controls the black side and has to make moves for it.
3. white: engine controls the white side.
4. both: engine controls both sides.

command changes:
For 'new' command:
Set White on move. Leave force mode and set the engine to play Black.

'force':
Set the engine to play neither color ("force mode").

'go':
Leave force mode and set the engine to play the color that is on move.

Original comment by bhupendr...@gmail.com on 5 May 2009 at 7:15

GoogleCodeExporter commented 8 years ago
Value 4 -- will not be implemented.

In main loop check if engine is required to make move, if no then wait for
user/xboard move/command.

Original comment by bhupendr...@gmail.com on 5 May 2009 at 11:40

GoogleCodeExporter commented 8 years ago
Revision: r5

Original comment by bhupendr...@gmail.com on 6 May 2009 at 6:25