Skip to content

Commit cbab0a1

Browse files
committed
added count of living cells and finished HAL tutorials
1 parent 41b46c6 commit cbab0a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OnLatticeExample/ExampleGrid.java

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public static void main (String[] args)
107107
if (model.Pop() == 0)
108108
{
109109
model.NewAgentSQ(model.xDim/2, model.yDim/2).Init();
110+
(ExampleGrid.count)++;
110111
}
111112
model.StepCells(dieProb, divProb); //run the StepCells method
112113
model.DrawModel(win); //run the DrawModel method

0 commit comments

Comments
 (0)