It is currently Fri Apr 19, 2024 1:41 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
Offline
 Post subject: KGS client other than CGoban ?
Post #1 Posted: Tue Jun 25, 2013 11:03 am 
Beginner

Posts: 3
Liked others: 0
Was liked: 0
Rank: KGS 4 kyu
KGS: DarkTeToN
DGS: dark_teton
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 !

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #2 Posted: Tue Jun 25, 2013 11:05 am 
Gosei

Posts: 1494
Liked others: 111
Was liked: 315
KGS doesn't support other clients if you read its Terms of Service, so you will have to try another server like IGS

_________________
North Lecale

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #3 Posted: Tue Jun 25, 2013 11:13 am 
Beginner

Posts: 3
Liked others: 0
Was liked: 0
Rank: KGS 4 kyu
KGS: DarkTeToN
DGS: dark_teton
:-? 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 !

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #4 Posted: Tue Jun 25, 2013 11:18 am 
Oza
User avatar

Posts: 2777
Location: Seattle, WA
Liked others: 251
Was liked: 549
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #5 Posted: Tue Jun 25, 2013 11:26 am 
Beginner

Posts: 3
Liked others: 0
Was liked: 0
Rank: KGS 4 kyu
KGS: DarkTeToN
DGS: dark_teton
Thank you !

I'm going to look at it !

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #6 Posted: Tue Jun 25, 2013 11:55 am 
Lives in sente
User avatar

Posts: 773
Location: Michigan, USA
Liked others: 143
Was liked: 218
Rank: KGS 1 kyu
Universal go server handle: moyoaji
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 11562 times ]

_________________
"You have to walk before you can run. Black 1 was a walking move.
I blushed inwardly to recall the ignorant thoughts that had gone through
my mind before, when I had not realized the true worth of Black 1."

-Kageyama Toshiro on proper moves
Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #7 Posted: Tue Jun 25, 2013 1:15 pm 
Oza

Posts: 2264
Liked others: 1180
Was liked: 552
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.


This post by xed_over was liked by: moyoaji
Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #8 Posted: Tue Jun 25, 2013 1:53 pm 
Lives in gote

Posts: 370
Liked others: 91
Was liked: 254
Rank: Weak
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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #9 Posted: Tue Jun 25, 2013 4:21 pm 
Dies in gote

Posts: 69
Liked others: 29
Was liked: 29
Rank: EGF 1d
KGS: CBlue
Regarding Java, this might be of interest
http://www.youtube.com/watch?v=E3418SeWZfQ

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #10 Posted: Wed Jun 26, 2013 12:32 am 
Lives in sente
User avatar

Posts: 842
Liked others: 180
Was liked: 151
Rank: 3d
GD Posts: 422
KGS: komi
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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #11 Posted: Wed Jun 26, 2013 1:10 am 
Lives in gote
User avatar

Posts: 314
Location: Germany
Liked others: 10
Was liked: 128
Rank: KGS 4k
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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS client other than CGoban ?
Post #12 Posted: Wed Jun 26, 2013 2:10 am 
Lives in sente
User avatar

Posts: 842
Liked others: 180
Was liked: 151
Rank: 3d
GD Posts: 422
KGS: komi
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.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group