Skip to content

Commit

Permalink
Fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Antenehden authored Aug 4, 2024
1 parent f472df4 commit b06e3bf
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/main/java/uta/cse3310/Round.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Round {
private static final int TURN_TIME_LIMIT = 100;
private static final int VOWEL_COST = 50;
private WordList wordlist = new WordList();
private Word words;
//private Word words;
private ArrayList<String> wordsforgame;
HashSet<Character> lettersguessed = new HashSet<>();
HashSet<Character> correctguesses = new HashSet<>();
Expand All @@ -31,7 +31,7 @@ public Round(List<Player> players, String wordFilePath, String stakeFilePath) th
System.out.println("words chosen" + wordsforgame);
this.lettersinword = wordlist.findletters(wordsforgame);
//HashSet<Character> lettersinword = wordlist.findletters(wordsforgame);
//this.words = new Word(wordsforgame);
this.word = new Word(wordsforgame);
this.stake = new Stake(stakeFilePath);
this.currentPlayerIndex = 0;
this.isRoundActive = true;
Expand Down Expand Up @@ -205,13 +205,6 @@ public static void main(String[] args) throws IOException {
game.addPlayer(new Player("Player1", PlayerType.HUMAN));
game.addPlayer(new Player("Player2", PlayerType.HUMAN));
game.startGame();
System.exit(0);
}
}








0 comments on commit b06e3bf

Please sign in to comment.