Harri Salakoski wrote:
> command        genmove w 300000
> reply                =300000 E3
> cgos replys      gameover 2007-11-27 B+Illegal do not understand syntax

CGOS server uses a proprietary protocol and not GTP. If you are looking to 
embedded the protocol within your application (instead of using the cgosGtp.tcl 
script), you can find a reference implementation in C# up at 
http://www.codeplex.com/GoTraxx. It connects to the CGOS server via TCP and 
converts the commands to GTP within the application. It would be fairly trivial 
to port to Java, including changes to call the appropriate methods directly 
rather than translating to the GTP command set. There are a few advantages to 
implementing the protocol within your program. You can implement custom actions 
between commands, like additional setup commands, and support for pondering.
 
However, this is all extra work and the cgosGtp.tcl works nicely as is. Don 
also updates it when the CGOS server is updated. If you roll your own, you may 
have to your re-code when the protocol changes.
 
Phil
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to