[computer-go] CGOS down? Java client - basic GTP problem

Phil Garcia go at thinkedge.com
Tue Nov 27 19:00:42 PST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://computer-go.org/pipermail/computer-go/attachments/20071127/2bdef862/attachment.htm


More information about the computer-go mailing list