fix snapback bug

This commit is contained in:
Sorrel Bri 2019-08-12 08:32:09 -07:00
parent 91653a650b
commit 17e5645ce5

View file

@ -790,6 +790,7 @@ function endGameSetTerritory() {
emptyPoints.forEach(pt => pt.joinGroup()); emptyPoints.forEach(pt => pt.joinGroup());
emptyPointSetTerritory(emptyPoints); emptyPointSetTerritory(emptyPoints);
groupsMarkDeadLive(); groupsMarkDeadLive();
// reviseTerritory();
} }
function groupsMarkDeadLive() { function groupsMarkDeadLive() {
@ -823,3 +824,9 @@ function emptyPointSetTerritory(emptyPoints) {
}) })
}); });
} }
function reviseTerritory() {
// count eyes
// for each group marked live get liberties
//
}