Currently the code often calls correct cells "having a weight of 1.0" which is totally confusing because the whole code is basically only working with 1 and 0 as values. Stepdata only saves 1 for selected cells, 0 isn't stored for attempts. No float value is ever used anywhere, just ints or "Is weight > 0".
You should probably move to just using int (1/0) or bool values and rename the weight code. The question is maybe how to name it...
Currently the code often calls correct cells "having a weight of 1.0" which is totally confusing because the whole code is basically only working with 1 and 0 as values. Stepdata only saves 1 for selected cells, 0 isn't stored for attempts. No float value is ever used anywhere, just ints or "Is weight > 0".
You should probably move to just using int (1/0) or bool values and rename the weight code. The question is maybe how to name it...