Life In 19x19
http://prod.lifein19x19.com/

KGS client other than CGoban ?
http://prod.lifein19x19.com/viewtopic.php?f=24&t=8564
Page 1 of 1

Author:  DarkTeToN [ Tue Jun 25, 2013 11:03 am ]
Post subject:  KGS client other than CGoban ?

Hi everybody,

I'm new to this forum but what I just discovered seems really great !
So here is what I wanted to talk about.

I'm a developer, and I wanted to program a go client that would be able to connect on KGS. Unfortunately, I did not find neither a library capable of doing that nor documentation on how to do it !
Actually, I wanted to try it, just for a challenge at first to do it in Java, then in an other language. Any idea ?

Thanks for sharing your experience in that subject if you have any !

Author:  Javaness2 [ Tue Jun 25, 2013 11:05 am ]
Post subject:  Re: KGS client other than CGoban ?

KGS doesn't support other clients if you read its Terms of Service, so you will have to try another server like IGS

Author:  DarkTeToN [ Tue Jun 25, 2013 11:13 am ]
Post subject:  Re: KGS client other than CGoban ?

:-? Sssssugaaarrrr !!!

Well, that was utopic ! Thanks !
Apart from KGS, does anyone have tips on which functionnality I have to implement in a client ? For example, do I have to implement something to calculate the score or is it done by the server ? Do I have to check the validity of a move ? etc.

I'd like to have some people sharing their experiences !

Author:  oren [ Tue Jun 25, 2013 11:18 am ]
Post subject:  Re: KGS client other than CGoban ?

You can find many example from open source igs clients.

http://www.pandanet.co.jp/English/commands.html

Also more info.

https://github.com/pzorin/qgo

qgo2 has code for dealing with many servers.

Author:  DarkTeToN [ Tue Jun 25, 2013 11:26 am ]
Post subject:  Re: KGS client other than CGoban ?

Thank you !

I'm going to look at it !

Author:  moyoaji [ Tue Jun 25, 2013 11:55 am ]
Post subject:  Re: KGS client other than CGoban ?

A fun project. I once made a Java go board using graphics (I gave it the working name "JGo" until I could come up with something better - because apparently every Java project has to start with "J"). It was able to play moves, keep a game record, and even remove captured stones. It's not much, but I even got it to have a "hover over" stone, which I thought was pretty cool at the time. However, I never finished scoring and it was not able to create SGF outputs of its games.

I was never ambitious enough to connect it to a server. That sounds very interesting. Maybe you could even make the client usable on multiple servers? (Assuming the server licenses allow it) Then, if someone likes the client they can use it for several servers.

Server or not, do try to make your graphics a bit better than mine. ;-) I'll give you a screenshot so you can see what I mean...

Attachments:
File comment: Screenshot of my from-scratch Java Go GUI
JGo GUI.png
JGo GUI.png [ 44.05 KiB | Viewed 13785 times ]

Author:  xed_over [ Tue Jun 25, 2013 1:15 pm ]
Post subject:  Re: KGS client other than CGoban ?

moyoaji wrote:
because apparently every Java project has to start with "J"

that's because programs starting with the letter "i" are taken -- which is also why there is no "i" on the Go board.

Author:  lemmata [ Tue Jun 25, 2013 1:53 pm ]
Post subject:  Re: KGS client other than CGoban ?

KGS has a GTP connection program (separate from the normal client) that allows bots to connect and allows a partial selection of GTP commands. If one programmed a wrapper around a GTP client (IGS clients are GTP clients...) so that it appeared to be a GTP bot program, then one could presumably connect to KGS using a non-KGS client.

That's my theory anyways... Don't know if that's actually allowed by KGS. It might be confusing if real people started connecting as bots.

Author:  C. Blue [ Tue Jun 25, 2013 4:21 pm ]
Post subject:  Re: KGS client other than CGoban ?

Regarding Java, this might be of interest
http://www.youtube.com/watch?v=E3418SeWZfQ

Author:  quantumf [ Wed Jun 26, 2013 12:32 am ]
Post subject:  Re: KGS client other than CGoban ?

Something that surprises me is that no one (apparently) has reverse engineered the KGS protocol to produce an alternative client. Or perhaps they have, and out of courtesy have not publicized it. But certainly if I had (lots of) time it's something I'd be interested in doing.

Author:  leichtloeslich [ Wed Jun 26, 2013 1:10 am ]
Post subject:  Re: KGS client other than CGoban ?

quantumf:
You are aware of this:
http://fuseki.net/home/kgs.html
?

I haven't looked at the source and wether it would be useful for writing other clients from scratch that could connect to KGS, though.

Author:  quantumf [ Wed Jun 26, 2013 2:10 am ]
Post subject:  Re: KGS client other than CGoban ?

leichtloeslich wrote:
quantumf:
You are aware of this:
http://fuseki.net/home/kgs.html
?

I haven't looked at the source and wether it would be useful for writing other clients from scratch that could connect to KGS, though.


Yes, I'm aware of cgoban-h, which relies on modifying obfuscated java code. I'm more interested in reverse engineering the protocol and coming up with an entirely novel client.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/