fix snapback bug
This commit is contained in:
parent
91653a650b
commit
17e5645ce5
1 changed files with 7 additions and 0 deletions
|
@ -790,6 +790,7 @@ function endGameSetTerritory() {
|
|||
emptyPoints.forEach(pt => pt.joinGroup());
|
||||
emptyPointSetTerritory(emptyPoints);
|
||||
groupsMarkDeadLive();
|
||||
// reviseTerritory();
|
||||
}
|
||||
|
||||
function groupsMarkDeadLive() {
|
||||
|
@ -823,3 +824,9 @@ function emptyPointSetTerritory(emptyPoints) {
|
|||
})
|
||||
});
|
||||
}
|
||||
|
||||
function reviseTerritory() {
|
||||
// count eyes
|
||||
// for each group marked live get liberties
|
||||
//
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue