Re: Re : [computer-go] How to use CGOS ?
Raymond Wold wrote: ivan dubois wrote: It does use GTP. I mean, why do you have to download a client to run locally? Why can't you just use GTP directly against a socket? I did not want to require people to change their program (adding additional gtp commands) just to use CGOS. - Don ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/ ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
Re: Re : [computer-go] How to use CGOS ?
There is at least one program that implemented CGOS protocol directly into their program and does not need a client - they have the socket protocol and the additional protocol needed that gtp doesn't support. - Don Jason House wrote: On Sun, 2008-02-24 at 02:06 +, Raymond Wold wrote: ivan dubois wrote: It does use GTP. I mean, why do you have to download a client to run locally? Why can't you just use GTP directly against a socket? Since gtp is typically implemented via console communication, there'd still have to be a (very simple) client. I know the topic has come up in the past, but I don't remember the arguments made for why cgos was implemented the way it was. The code is open source. Want to try adjusting the client and server code to do as you suggest? ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/ ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
Re: Re : [computer-go] How to use CGOS ?
Raymond Wold wrote: Don Dailey wrote: Raymond Wold wrote: ivan dubois wrote: It does use GTP. I mean, why do you have to download a client to run locally? Why can't you just use GTP directly against a socket? I did not want to require people to change their program (adding additional gtp commands) just to use CGOS. - Don Are these additional GTP commands (identification?) documented somewhere outside source code? No. cgos does not use GTP protocol for communicating with server. Also, I have eventual plans to extend what is communicated to the client and this is not compatible with the current GTP set. - Don ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/ ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
Re: Re : [computer-go] How to use CGOS ?
On Feb 23, 2008, at 7:51 PM, Jason House wrote: I mean, why do you have to download a client to run locally? Why can't you just use GTP directly against a socket? That's similar to what I did. I implemented the CGOS protocol directly into my Go-programm. It's very straight forward and I don't have to run a separate client that way. Christoph ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
Re: Re : [computer-go] How to use CGOS ?
On Feb 24, 2008, at 1:22 PM, Raymond Wold wrote: Do you have any notes on what you found out about the protocol? Any open source code? I looked at the CGOS-client code (TCL script) and re-implemented it in C, then I linked that file to my Go-program. That makes it specific to my program, of course. It was really simple as there are only 4 commands: setup, genmove, play, gameover Christoph ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
Re: Re : [computer-go] How to use CGOS ?
Don Dailey wrote: No. cgos does not use GTP protocol for communicating with server. Also, I have eventual plans to extend what is communicated to the client and this is not compatible with the current GTP set. The more you add as requirements on the client side, the more those bot coders who can't or don't want to run third party interface code will have to implement. Christoph Birk wrote: That's similar to what I did. I implemented the CGOS protocol directly into my Go-programm. It's very straight forward and I don't have to run a separate client that way. Christoph It would be a lot more straight forward if there was just /one/ protocol to implement. But I guess it's true what they say about standards being nice. Do you have any notes on what you found out about the protocol? Any open source code? ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
Re: Re : [computer-go] How to use CGOS ?
On Feb 24, 2008, at 1:54 PM, Álvaro Begué wrote: like the current scheme where a little program talks GTP to the engine and then something else (I don't care what) to the server. It would be better if the little client were written in Perl (there used to be a Perl version but I don't know if it's up to date) so I wouldn't have to install another interpreter (TCL). Well, since I am a C-man I basically re-wrote the script in C ... it's even much simpler than the TCL script since it only implements the 4 basic commands. No need to install/learn TCL nor Pearl :-) Christoph ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/