computeColoredCorretly method
Implementation
int computeColoredCorretly() {
int count = 0;
final List<List<int>> computedGrid = CatInterpreter().getLastState.getGrid;
final List<List<int>> reference = SchemasReader().current.getGrid;
for (int i = 0; i < reference.first.length; i++) {
for (int j = 0; j < reference.first.length; j++) {
if (reference[i][j] != 0) {
count += reference[i][j] == computedGrid[i][j] ? 1 : 0;
}
}
}
return count;
}