computeColored method
Implementation
int computeColored() {
final List<List<int>> grid = CatInterpreter().getLastState.getGrid;
int count = 0;
for (final List<int> i in grid) {
for (final int j in i) {
count += j == 0 ? 0 : 1;
}
}
return count;
}