title: Println printing multiple times instead of increasing for each loop
body: <p>I'm trying to make this code print out the number of games played (<code>gameNum</code>). Instead, it always sets <code>gameNum</code> to <code>2</code>, and prints out the last println the number of times that the game was played. I feel like I made a dumb mistake here, but I am having trouble finding it. Could you please give me a hint instead of the answer? I'd like to figure this out on my own. If not, then feel free to go ahead and write the answer. </p>
  
  <p>Thanks!</p>
  
  <pre><code>import java.util.*;
  
  public class Testing_gameNum {
      public static final int amt = 1;
      public static void main(String[] args) {
          Scanner console = new Scanner(System.in);
          guessCounter(console);
      }
  
      public static int game(Scanner console) {
          Random rand = new Random();
          int guess = 0;
          int guessNum = 0;
          System.out.printf("I'm thinking of a number...", amt);
          System.out.println();
          int num = 1;
  
          do {
              System.out.println("Your guess? ");
              guess = console.nextInt();
              guessNum += guessNum;
          } while (guess != num);
  
          return guessNum;
      }
  
      public static void guessCounter(Scanner console) {
          int gameNum = 1;
          int guessNum = game(console);
          if (guessNum == 1){
              System.out.printf("You won in %d guesses!", guessNum);
              System.out.println();
          }
          gameNum = gameNum + 1;
          System.out.println("Do you want to play again?");
          String play = console.next();
          if (play.equals("y")) {
              guessCounter(console);
          }
          System.out.println("Number of games: " + gameNum);
      }
  }
  </code></pre>