Re: [computer-go] Connecting a gtp engine to CGOS 19
Solved! It is working now. The problem was the tcl script does not pass all remaining parameters to the called application (gnugo in the example). To solve this, the command line should be delimited with a quote " char. tcl cgos3.tcl testingTCL password "E:\\GO\\PROGRAMS\\GnuGo\\gnugo37 --mode gtp --chinese-rules --capture-all-dead" instead of: tcl cgos3.tcl testingTCL password E:\\GO\\PROGRAMS\\GnuGo\\gnugo37 --mode gtp --chinese-rules --capture-all-dead I repeat the corrected post: 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 Call it with these args: cgosview.exe cgos.lri.fr 6919 Jacques. ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
Re: [computer-go] Connecting a gtp engine to CGOS 19
I can either link this from the main CGOS web page or build it into the web page. There are temporary instructions now but they are based on the previous location for the 19x19 server and are no longer relevant. These instructions are oriented to windows machines, so I would specify so if I link them. Also, the cgosview instructions are wrong now.You cannot call it the way you specified if you are using the latest one. Call it with these args: cgosview.exe -server cgos.lri.fr -port 6919 You don't need to specify the arguments for the 19x19 server, that is the default so for 19x19 you can just say cgosview.exe If you fix that up and send a message to the group, I will link this post in.You might give it a subject: Connecting a gtp engine to CGOS 19x19 using Windows OS (or something similar) - Don Jacques BasaldĂșa wrote: > Solved! > > It is working now. The problem was the tcl script does not > pass all remaining parameters to the called application > (gnugo in the example). To solve this, the command line > should be delimited with a quote " char. > > tcl cgos3.tcl testingTCL password "E:\\GO\\PROGRAMS\\GnuGo\\gnugo37 > --mode gtp --chinese-rules --capture-all-dead" > > instead of: > > tcl cgos3.tcl testingTCL password E:\\GO\\PROGRAMS\\GnuGo\\gnugo37 > --mode gtp --chinese-rules --capture-all-dead > > > I repeat the corrected post: > > > > 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 > >Call it with these args: cgosview.exe cgos.lri.fr 6919 > > > 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/
Re: [computer-go] Connecting a gtp engine to CGOS 19
On Sun, 2007-11-04 at 11:26 +, Jacques BasaldĂșa wrote: > Solved! > > It is working now. The problem was the tcl script does not > pass all remaining parameters to the called application > (gnugo in the example). To solve this, the command line > should be delimited with a quote " char. This is a pretty common trick. I use it all the time with GoGUI too. ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/
[computer-go] greenpeep
-From "Re: So many MoGo run on cgos 9x9": >greenpeep also uses patterns derived from 2 UCT self-play games. >These are simple local patterns with scores that (roughly) indicate >the probability that the move at the center of the pattern was >selected by UCT during these games. These patterns are then used both >to bias moves at UCT nodes which have few visits, and also to bias the >playouts. What I've seen is: >- Biasing playouts by patterns is much better than unbiased playouts >- Playouts using self-play patterns together with MoGo-style move > preferences (favor defensive moves and captures, as well as local > moves biased by the self-play patterns, before resorting to a global > move biased by patterns) yield much better results than just using > the patterns by themselves globally. I am interested in this improvemnt. Do you have any data to compare the performance of biased playouts with MoGo-style one? (the winning rate against GNU Go, etc) Also, how large and how many are your patterns? -- Yamato ___ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/