Game State Lab

<< Car Talk Lab | LabTrailIndex | CheaterCatcherLab >>

How do I make it play the Game 100 times?

You can use a for loop:

for (int i=0; i<100; i++){
  g.play();
}

How do I Make a counter?

int counter=0;

Make sure to put this before the "for" loop!

<< Car Talk Lab | LabTrailIndex | CheaterCatcherLab >>