Re: [computer-go] Connecting a gtp engine to CGOS 19x19 using Windows OS

2007-11-05 Thread Don Dailey
Thanks Jacques,

I updated the page with a link to this post as well as a few other
changes to make things a bit more clear.

- Don


Jacques BasaldĂșa wrote:
> Here are the steps:
> ---
>
>
> 1. Get TCL. There are many "flavors" with GUI, debugger etc.
>   The simplest, when you just need to run a Tk application
>   is something like:
>
>   http://www.equi4.com/pub/tk/tclkit-win32.upx.exe
>
>   This .exe is all you need, about 1M and without any annoyances,
>   installation, registry etc.
>
>   For simplicity: Rename tclkit-win32.upx.exe as tcl.exe
>
>
> 2. Get the .tcl client from CGOS.
>
>   http://cgos.boardspace.net/public/cgos3.zip
>
>
> 3. Modify the .tcl script to use the 19x19 server
>
># ... set server cgos.boardspace.net
>set server cgos.lri.fr
>
># ... set port   6867
>set port   6919
>
>No other modification is necessary.
>
>
> 4. Create an account in CGOS. I remember having read that when you
>   use one for the first time, any name and password are valid
>   and then, you have to use the same password to continue using it.
>
>   So, for testing purposes, I use the account:
>
>   name: testingTCL
>   pass: password
>
>
> 5. Using gnugo for the sake of simplicity (just for the test),
>
>   gnugo37 --mode gtp --chinese-rules --capture-all-dead
>
>   should be a valid setting to play on CGOS.
>
>   Remember that you will loose lots of won games if your
>   program does not capture all the opponent's dead stones.
>
>   Chinese rules is mandatory as well.
>
>
> 6. Create a .bat file with:
>
>   tcl cgos3.tcl testingTCL password "E:\\GO\\PROGRAMS\\GnuGo\\gnugo37
> --mode gtp --chinese-rules --capture-all-dead"
>
>
> 7. Run the .bat file wait for the next round. Your program should be
>playing.
>
>
> 8. To supervise your program:
>
>Download cgosview.exe from
>
>http://cgos.boardspace.net/public/cgosview-windows.zip
>
>You don't need to specify the arguments for the 19x19 server,
>that is the default so for 19x19.
>
>Just run:   cgosview.exe
>
>
> Jacques.
>
>
> ___
> 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] Connecting a gtp engine to CGOS 19x19 using Windows OS

2007-11-05 Thread Jacques BasaldĂșa

Here are the steps:
---


1. Get TCL. There are many "flavors" with GUI, debugger etc.
  The simplest, when you just need to run a Tk application
  is something like:

  http://www.equi4.com/pub/tk/tclkit-win32.upx.exe

  This .exe is all you need, about 1M and without any annoyances,
  installation, registry etc.

  For simplicity: Rename tclkit-win32.upx.exe as tcl.exe


2. Get the .tcl client from CGOS.

  http://cgos.boardspace.net/public/cgos3.zip


3. Modify the .tcl script to use the 19x19 server

   # ... set server cgos.boardspace.net
   set server cgos.lri.fr

   # ... set port   6867
   set port   6919

   No other modification is necessary.


4. Create an account in CGOS. I remember having read that when you
  use one for the first time, any name and password are valid
  and then, you have to use the same password to continue using it.

  So, for testing purposes, I use the account:

  name: testingTCL
  pass: password


5. Using gnugo for the sake of simplicity (just for the test),

  gnugo37 --mode gtp --chinese-rules --capture-all-dead

  should be a valid setting to play on CGOS.

  Remember that you will loose lots of won games if your
  program does not capture all the opponent's dead stones.

  Chinese rules is mandatory as well.


6. Create a .bat file with:

  tcl cgos3.tcl testingTCL password "E:\\GO\\PROGRAMS\\GnuGo\\gnugo37
--mode gtp --chinese-rules --capture-all-dead"


7. Run the .bat file wait for the next round. Your program should be
   playing.


8. To supervise your program:

   Download cgosview.exe from

   http://cgos.boardspace.net/public/cgosview-windows.zip

   You don't need to specify the arguments for the 19x19 server,
   that is the default so for 19x19.

   Just run:   cgosview.exe


Jacques.


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