[computer-go] Python CGOS Client

2009-06-10 Thread Christian Nentwich

All,

I have released an alternative client for CGOS, written in Python. I had 
some features in there that are useful to me, and I thought maybe others 
could benefit from it.


Some key interesting features:
  - GTP extensions that tell your engine who the opponent is, and what 
the result was (useful if you persist your own SGF)

  - Local SGF persistence
  - Local "mirroring" to a GTP observer engine of all moves. This lets 
you watch games locally using GoGUI. Nice for the server, and nice 
graphics :-)

  - Usual failover using the CGOS servers move replay
  - Separate logging. The console output has only high-level stuff 
(like what colour your engine is playing, and against who)


Head on over here: http://cgos-python.sourceforge.net/

I would be interested in hearing feedback, and ideas for further 
features. I'm thinking of adding mail notification for very long 
sessions. I run this on Windows 7 (64 bit) and XP (32 bit). If you run 
into issues on Linux (shouldn't.. but...), let me know. Contributors 
also welcome, of course.


Christian
p.s. Don: if you are reading this - this client obeys the TCL client's 
convention of not hammering the server on reconnects (uses 30 seconds + 
random number), and the rest of the protocol.

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Python CGOS Client

2009-06-10 Thread Jason House
As long as Don doesn't object, I'll give you SVN access to the CGOS  
project on sourceforge.net. It makes sense to keep everything  
together. Are you up for merging your project into the existing one?


Sent from my iPhone

On Jun 10, 2009, at 2:23 PM, Christian Nentwich > wrote:



All,

I have released an alternative client for CGOS, written in Python. I  
had some features in there that are useful to me, and I thought  
maybe others could benefit from it.


Some key interesting features:
 - GTP extensions that tell your engine who the opponent is, and  
what the result was (useful if you persist your own SGF)

 - Local SGF persistence
 - Local "mirroring" to a GTP observer engine of all moves. This  
lets you watch games locally using GoGUI. Nice for the server, and  
nice graphics :-)

 - Usual failover using the CGOS servers move replay
 - Separate logging. The console output has only high-level stuff  
(like what colour your engine is playing, and against who)


Head on over here: http://cgos-python.sourceforge.net/

I would be interested in hearing feedback, and ideas for further  
features. I'm thinking of adding mail notification for very long  
sessions. I run this on Windows 7 (64 bit) and XP (32 bit). If you  
run into issues on Linux (shouldn't.. but...), let me know.  
Contributors also welcome, of course.


Christian
p.s. Don: if you are reading this - this client obeys the TCL  
client's convention of not hammering the server on reconnects (uses  
30 seconds + random number), and the rest of the protocol.

___
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: [computer-go] Python CGOS Client

2009-06-10 Thread Don Dailey
Awesome!This will be a good thing for CGOS and I will put a link to it
on my site soon.

I plan to try to stick to the same exact protocol when I do the new
server.   I will almost certainly have to make minor changes to accomodate
the ability to decide which time controls to play in.In order not to
break your client I can design it so there is a default that doesn't have to
be communicated,   but I will discuss it with you when the time comes.

- Don


On Wed, Jun 10, 2009 at 2:23 PM, Christian Nentwich <
christ...@modeltwozero.com> wrote:

> All,
>
> I have released an alternative client for CGOS, written in Python. I had
> some features in there that are useful to me, and I thought maybe others
> could benefit from it.
>
> Some key interesting features:
>  - GTP extensions that tell your engine who the opponent is, and what the
> result was (useful if you persist your own SGF)
>  - Local SGF persistence
>  - Local "mirroring" to a GTP observer engine of all moves. This lets you
> watch games locally using GoGUI. Nice for the server, and nice graphics :-)
>  - Usual failover using the CGOS servers move replay
>  - Separate logging. The console output has only high-level stuff (like
> what colour your engine is playing, and against who)
>
> Head on over here: http://cgos-python.sourceforge.net/
>
> I would be interested in hearing feedback, and ideas for further features.
> I'm thinking of adding mail notification for very long sessions. I run this
> on Windows 7 (64 bit) and XP (32 bit). If you run into issues on Linux
> (shouldn't.. but...), let me know. Contributors also welcome, of course.
>
> Christian
> p.s. Don: if you are reading this - this client obeys the TCL client's
> convention of not hammering the server on reconnects (uses 30 seconds +
> random number), and the rest of the protocol.
> ___
> 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: [computer-go] Python CGOS Client

2009-06-10 Thread Don Dailey
I don't object.

- Don


On Wed, Jun 10, 2009 at 2:59 PM, Jason House wrote:

> As long as Don doesn't object, I'll give you SVN access to the CGOS project
> on sourceforge.net. It makes sense to keep everything together. Are you up
> for merging your project into the existing one?
>
> Sent from my iPhone
>
>
> On Jun 10, 2009, at 2:23 PM, Christian Nentwich <
> christ...@modeltwozero.com> wrote:
>
>  All,
>>
>> I have released an alternative client for CGOS, written in Python. I had
>> some features in there that are useful to me, and I thought maybe others
>> could benefit from it.
>>
>> Some key interesting features:
>>  - GTP extensions that tell your engine who the opponent is, and what the
>> result was (useful if you persist your own SGF)
>>  - Local SGF persistence
>>  - Local "mirroring" to a GTP observer engine of all moves. This lets you
>> watch games locally using GoGUI. Nice for the server, and nice graphics :-)
>>  - Usual failover using the CGOS servers move replay
>>  - Separate logging. The console output has only high-level stuff (like
>> what colour your engine is playing, and against who)
>>
>> Head on over here: http://cgos-python.sourceforge.net/
>>
>> I would be interested in hearing feedback, and ideas for further features.
>> I'm thinking of adding mail notification for very long sessions. I run this
>> on Windows 7 (64 bit) and XP (32 bit). If you run into issues on Linux
>> (shouldn't.. but...), let me know. Contributors also welcome, of course.
>>
>> Christian
>> p.s. Don: if you are reading this - this client obeys the TCL client's
>> convention of not hammering the server on reconnects (uses 30 seconds +
>> random number), and the rest of the protocol.
>> ___
>> 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/
>
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Re: [computer-go] Python CGOS Client

2009-06-10 Thread Christian Nentwich

Don,

great. I will be happy also to merge the project into your SVN, as Jason 
suggested, subject to some administrative needs that I will e-mail the 
two of you about, off-list.


I'd be more than happy to help on the client side of the new CGOS. 
Upgrading this Python client to support the new protocol (or both at the 
same time) will not be difficult at all. It will then shield the 
programs behind it, as a good adapter should.


Christian


On 10/06/2009 20:23, Don Dailey wrote:
Awesome!This will be a good thing for CGOS and I will put a link 
to it on my site soon.


I plan to try to stick to the same exact protocol when I do the new 
server.   I will almost certainly have to make minor changes to 
accomodate the ability to decide which time controls to play in.In 
order not to break your client I can design it so there is a default 
that doesn't have to be communicated,   but I will discuss it with you 
when the time comes.


- Don


On Wed, Jun 10, 2009 at 2:23 PM, Christian Nentwich 
mailto:christ...@modeltwozero.com>> wrote:


All,

I have released an alternative client for CGOS, written in Python.
I had some features in there that are useful to me, and I thought
maybe others could benefit from it.

Some key interesting features:
 - GTP extensions that tell your engine who the opponent is, and
what the result was (useful if you persist your own SGF)
 - Local SGF persistence
 - Local "mirroring" to a GTP observer engine of all moves. This
lets you watch games locally using GoGUI. Nice for the server, and
nice graphics :-)
 - Usual failover using the CGOS servers move replay
 - Separate logging. The console output has only high-level stuff
(like what colour your engine is playing, and against who)

Head on over here: http://cgos-python.sourceforge.net/

I would be interested in hearing feedback, and ideas for further
features. I'm thinking of adding mail notification for very long
sessions. I run this on Windows 7 (64 bit) and XP (32 bit). If you
run into issues on Linux (shouldn't.. but...), let me know.
Contributors also welcome, of course.

Christian
p.s. Don: if you are reading this - this client obeys the TCL
client's convention of not hammering the server on reconnects
(uses 30 seconds + random number), and the rest of the protocol.
___
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/


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/