Search
Thursday, August 23, 2012
Day 15: Killing groups
Now that the engine can see groups and count liberties (and see where are the liberties), the obvious step is to see if a group is killed. Basically when someone plays the board will look using the ruleset if any group have 0 liberties. If it is the case, all those positions becomes empty (value of the position = 0), and the number of dead stones should increase to a "dead stones" variable for the outsider or the engine.
This is the "search for liberties" method (I didn't publish it yesterday, you have it now):
Labels:
baduk,
computer go,
engine,
go,
go board,
igo,
java,
programming,
weiqi
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment