0141029 @wiki
enhanced_Gnugo
最終更新:
0141029
-
view
>>JP(Japanese) version
How to enhance Gnugo characteristically with ease
Preparation
In this content, I don't exaplain the environmental setting of PC or how to compile. You can find such proper sites easily. If it is difficult for you to do so, you had better not try. And, of course, take full responsibility for your actions.
1. Download the source of Gnugo.
(I recommend 3.7.5 or later. Because they can be arranged more easily than other versions.)
2. Unpack and locate it properly.
Idea
1. What are the models to set out?
Our aim to enhance Gnugo characteristically. Wathcing actual players' games, there seems to be 3 types in their styles. As the familiar examples, they resemble 'army', 'navy', and 'air force'.
- army
Even in the early period, some players take their own territories quite important. They love corners too much.
- navy
On the other hand, there are some players who emphasize the tendency of blockade on corners. They like the potencial in the future. So, they can be thought of as sides-oriented.
- air force
And there are footloose dreamers, too. They don't trust the casual territories but the potencial in the future. If they success, they are aces. And if fail, they fall.
2. How can we distinguish these types ?
The opening moves reflect their styles best. This way may be not enough, but it is 'with ease' that is important now ;-) And it has no problem as described later. Confirm the below list classifying opening moves.
style | fuseki 1 | fuseki 2 |
army | 3-4 point | 3-3 point |
navy | 4-5 point | 3-5 point |
air force | 5-5 point | center point |
3. Which file do we change ?
See the beginning part of fuseki19.dbz.
(.dbz file was adopted at Gnugo 3.7.5 or later.)
(.dbz file was adopted at Gnugo 3.7.5 or later.)
e.g.) that of Gnugo 3.7.10 (ID, occurrence rate, move, in sequence)
F-H0-1 3977 pd (star point) F-H0-2 1136 pc (3-4 point) F-H0-3 201 od (4-5 point) F-H0-4 158 jj (center point) F-H0-5 137 qe (3-5 point) F-H0-6 101 qc (3-3 point) F-H0-7 46 oe (5-5 point)
4. How do we change it?
Taking the symmetrical properties into consideration, usual opening move is certainly one of these points. The more stones we put, the more complex patterns become increasingly, but we can utilize the symmetry-based treatment. And so, it is only necessary to extract lines including "pc" or "qc" in order to generate the army type.
e.g.)
The cases to put stones on star positions diametrically opposite each other are "ddpp", "dppd", "pddp", "ppdd". There is only "dppd" in 'fuseki19.dbz'.
The cases to put stones on star positions diametrically opposite each other are "ddpp", "dppd", "pddp", "ppdd". There is only "dppd" in 'fuseki19.dbz'.
The regular expressions to extract the proper lines are as follows:
army: grep ^.*(pc|qc).*\n navy: grep ^.*(od|qe).*\n air force: grep ^.*(jj|oe).*\n
And if we enhance "Yashiro" or "Hikaru" of "Hikaru no GO",
Yashiro: grep ^.*(oe).*\n Hikaru: grep ^.*(jj).*\n
5. An example of the compile options
army: none navy: --enable-large-scale air force: --enable-cosmic-gnugo --enable-large-scale
I want to take this opportunity to thank the developers of GnuGO ! If you distribute your enhancing Gnugo, you have to take care the licence, as you know. Have fun !!