Game State Lab

<< Simple Function Graph | LabTrailIndex | Card Class Lab 2: Poker Hands >>

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!

<< Simple Function Graph | LabTrailIndex | Card Class Lab 2: Poker Hands >>