Re: [Computer-go] Cogito--another minimal Go engine

2015-03-27 Thread hughperkins2
I guess one could zip it too. Itd make the code smaller, and no less intelligible :-P ___ Computer-go mailing list Computer-go@computer-go.org http://computer-go.org/mailman/listinfo/computer-go

Re: [Computer-go] Cogito--another minimal Go engine

2015-03-27 Thread robertfinkng...@o2.co.uk
I suspect some people may not be curious enough to follow the link, but may be intrigued if they saw the code... #define S W*W #define A B.s[1]-B.s[2]-K #define F(x,l)for(x=0; xL{ L{ C h[4],p,l; } M[S]; C b[S],c,u[S],i[S],I,p,J,s[3]; } B,F; g; Z; m; i; e[S][4]; a[S][4]; E; J=2; char T[9]; long

[Computer-go] Cogito--another minimal Go engine

2015-03-27 Thread Zach Wegner
With all the talk about Michi (which is very nice btw, Petr!), I figured now would be a good time to do a little more work on my old super-minimalist obfuscated Go engine, and finally show it off to the world. Cogito was mostly written in 2008/2009, I only did some cleaning up/bug fixing/shrinking.

Re: [Computer-go] [ANN] Michi - 15x15 ~6k KGS in 540 lines of Python code

2015-03-27 Thread Xavier Combelle
very nice job 2015-03-25 16:36 GMT+01:00 Petr Baudis : > Hi! > > So what's the strongest program you can make with minimum effort > and code size while keeping maximum clarity? Chess programers > were exploring this for long time, e.g. with Sunfish, and that inspired > me to try out somethin

Re: [Computer-go] [ANN] Michi - 15x15 ~6k KGS in 540 lines of Python?code

2015-03-27 Thread folkert
> > Windows 7 on a I5 processor, and I'm quite sure multiprocesses is OK (I see > > 5 python processes running when michi is thinking). Maybe it's multicore > > usage not working properly. I will investigate that. > > I just realized - you mentioned that you are using Python to run it - if > you u

Re: [Computer-go] [ANN] Michi - 15x15 ~6k KGS in 540 lines of Python?code

2015-03-27 Thread Petr Baudis
On Fri, Mar 27, 2015 at 02:18:05PM +, Andrea Carta wrote: > > You'll need to start reading/changing the code - the second point is > > about the N_SIMS variable. > > Well, I don't like changing other people's software, but if you wish... Well, reading and tweaking the source code is the whol

Re: [Computer-go] [ANN] Michi - 15x15 ~6k KGS in 540 lines of Python?code

2015-03-27 Thread Andrea Carta
> You'll need to start reading/changing the code - the second point is > about the N_SIMS variable. Well, I don't like changing other people's software, but if you wish... > What kind of computer are you playing on? > It might be that on Windows Python cannot use multiple processes... Windows 7