I have this code here that runs an guessing game for flags.
The user has 3 tries to guess the correct flag. If they guess it correct on the first try, they get 3 points and since it was only 1 guess, I added a counter (numGuesses) to count the number of guesses on the first try they have correct.
I am having an issue. See the method around line 261 (private void submitGuess(Button guessButton) )
The counter seems to be inaccurate and don't know what I did wrong? Either on the last try it does not add the numbers correctly or on the first try.