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.