Re: Game moves statistics, any program for that ?
Posted: Mon May 19, 2014 4:36 am
Correct oca
Life in 19x19. Go, Weiqi, Baduk... Thats the life.
https://lifein19x19.com/
"Crawl"oca wrote:Current version of the program tells me that :"Nobi" -> okCode: Select all
MOVE : 9, ["Nobi","Peep","Shoulder hit"] 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 +--------------------------------------+ 0 |. . . . . . . . . . . . . . . . . . . | 1 |. . . . . . . . . . . . . . . . . . . | 2 |. . . . . . . . . . . . . . . . . . . | 3 |. . . X . . . . . X . . . X . X . . . | 4 |. . . . . . . . . . . . . . . . X . . | 5 |. . . . . . . . . . . . . . . O O . . | 6 |. . . . . . . . . . . . . . . . . . . | 7 |. . . . . . . . . . . . . . . . X . . | 8 |. . . . . . . . . . . . . . . . .(O). | 9 |. . . X . . . . . X . . . . . X X O . | 0 |. . . . . . . . . . . . . . . . . O . | 1 |. . . . . . . . . . . . . . . . . . . | 2 |. . . . . . . . . . . . . . . . . . . | 3 |. . . . . . . . . . . . . . . . . . . | 4 |. . . . . . . . . . . . . . . . . . . | 5 |. . . X . . . . . X . . . . . X . . . | 6 |. . . . . . . . . . . . . . . . . . . | 7 |. . . . . . . . . . . . . . . . . . . | 8 |. . . . . . . . . . . . . . . . . . . | +--------------------------------------+
"Peep" -> ok
but "Shoulder hit"... is this a shoulder hit ? from below
Actually maybe just single stones with fewer liberties are ok too: if you play diagonally above a stone on the edge with 3 liberties, or 2-2 to a 1-1 stone with 2 liberties perhaps that can be called a shoulder hit too, though it's so strange to have 1st line stones like that it's unlikely to ever happen in a real game.Uberdude wrote:A shoulder hit is only from above: the hitter must be nearer the centre than the hitee so you can't use pure local pattern matching. It's normal for it to be 4th line hitting 3rd but not necessary. Also both stones should be single stones with 4 liberties.
Code: Select all
MOVE : 76, []
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8
+--------------------------------------+
0 |. . . O . . . O . . . . . . . . . . . |
1 |. X O . . . O . O X . . O X . . . . . |
2 |. . X O O O X O X X . O . X . . . . . |
3 |. . X X . . X X . X . . . X . X . . . |
4 |. . . . . . . . . . . O . . . . X . . |
5 |. . . . . . . . . . O . . . X O O X . |
6 |. . X . . . . . . . . . . . O . . . . |
7 |. . . . . . . . . . . . . . O X X X . |
8 |. . . . . . . . . . . . . . . O O O . |
9 |. . . X . . . . . X . . . . . X X O . |
0 |. . . . . . . . . . . . . . . . . O . |
1 |. . . . . . . . . . . . . . . . . . . |
2 |. O . . . . . . . . . . . . . . . . . |
3 |. . O . X . . . . . . . . . . . X . . |
4 |. O X . . . . O . O . . . . . . . . . |
5 |. .(X)X X . . X O X . . . . X X X . . |
6 |. . O O X . . X O X . . . O X O O . . |
7 |. . . . X . . X O . . . O . O X X . . |
8 |. . . . . . . . . . . . . O . . . . . |
+--------------------------------------+
Code: Select all
X .
(X)X
It's guzumi (see http://senseis.xmp.net/?Guzumi ). Specifically, a good empty triangle.oca wrote:Hi,
What would you say about this one, "empty triangle" or "connection" or both... (or something else)
Code: Select all
MOVE : 76, [] 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 +--------------------------------------+ 0 |. . . O . . . O . . . . . . . . . . . | 1 |. X O . . . O . O X . . O X . . . . . | 2 |. . X O O O X O X X . O . X . . . . . | 3 |. . X X . . X X . X . . . X . X . . . | 4 |. . . . . . . . . . . O . . . . X . . | 5 |. . . . . . . . . . O . . . X O O X . | 6 |. . X . . . . . . . . . . . O . . . . | 7 |. . . . . . . . . . . . . . O X X X . | 8 |. . . . . . . . . . . . . . . O O O . | 9 |. . . X . . . . . X . . . . . X X O . | 0 |. . . . . . . . . . . . . . . . . O . | 1 |. . . . . . . . . . . . . . . . . . . | 2 |. O . . . . . . . . . . . . . . . . . | 3 |. . O . X . . . . . . . . . . . X . . | 4 |. O X . . . . O . O . . . . . . . . . | 5 |. .(X)X X . . X O X . . . . X X X . . | 6 |. . O O X . . X O X . . . O X O O . . | 7 |. . . . X . . X O . . . O . O X X . . | 8 |. . . . . . . . . . . . . O . . . . . | +--------------------------------------+
Bill Spight wrote: It's guzumi (see http://senseis.xmp.net/?Guzumi ). Specifically, a good empty triangle.
Oh guzumi, thank you Bill... and yes... that seems very difficult for me to analyse it automatically...RBerenguel wrote:Oh, right. Threatens a neat cut at that, but this seems hard to analyse automatically
oca wrote:Bill Spight wrote: It's guzumi (see http://senseis.xmp.net/?Guzumi ). Specifically, a good empty triangle.Oh guzumi, thank you Bill... and yes... that seems very difficult for me to analyse it automatically...RBerenguel wrote:Oh, right. Threatens a neat cut at that, but this seems hard to analyse automatically
Even Nobi was more complex then excpeted... my first try found "Nobi" moves everywhere....
Current version of Nobi is slightly becoming "une usine à gaz" like we say in french (a "gas factory" ? do we say that in english ? or is it "white elephant" ???) anyway here is the code for whose who may be interested...
maybe be not clean enougth or commented enougth for github but here is a zip file that contains it all.RBerenguel wrote:if you put it up somewhere (github? bitbucket?) I'll sure give it a look in its entirety (if my node.js install works, haven't checked on this computer)
You rang?RBerenguel wrote:Lisp programmers are pretty much happy
I don't understand what "rang" means here... But yes, I've programmed in Common Lisp (probably the only relevant program for the world is my code to generate Lavaurs chords, which has been improved by other people meanwhile) in the past. Not much any more, though (I still code a bit in Emacs Lisp, so my Lisp fix is always close at hand) since for most tasks I'm faster in Go, Javascript or some kludge with awk. Or when I need to go full crazy with what I'm doing and how to solve it, lately it means (likely) try to do it in Prolog or APL.joellercoaster wrote:You rang?RBerenguel wrote:Lisp programmers are pretty much happy
(Not done Common Lisp in a few decades so CLOS is forever in the past, but Clojure is a very comfortable modern Lisp and you're right - OO is something I think about little indeed)
IMO, the Sensei's page suffers from having been written by a committee of amateurs. That is not to say that Japanese amateurs do much better. I expect that Hayashi gives a good definition, but I do not have it. Perhaps John Fairbairn will chime in.RBerenguel wrote:oca wrote: Even Nobi was more complex then excpeted... my first try found "Nobi" moves everywhere....
Current version of Nobi is slightly becoming "une usine à gaz" like we say in french (a "gas factory" ? do we say that in english ? or is it "white elephant" ???) anyway here is the code for whose who may be interested...
Hmmm... not sure if this applies to Sensei's definition of nobi. I hope Bill chimes in for this, but seems like nobi needs to be "moving ahead", getting more liberties.