diff --git a/src/main/java/uta/cse3310/Round.java b/src/main/java/uta/cse3310/Round.java index 6a792bc..12faa4d 100644 --- a/src/main/java/uta/cse3310/Round.java +++ b/src/main/java/uta/cse3310/Round.java @@ -157,7 +157,10 @@ private void processGuess(Player currentPlayer, char guessedLetter) { System.out.println("Correct guess!"); int points = stake.calculatePoints(guessedLetter); currentPlayer.addScore(points); + correctguesses.add(guessedLetter); System.out.println("Player " + currentPlayer.getName() + " awarded " + points + " points."); + //word.getWordProgress(wordsforgame, correctguesses); + System.out.println("\ncorrect guesses: " + correctguesses); if (correctguesses.equals(lettersinword)) { System.out.println("Word guessed correctly! Round over."); isRoundActive = false;