diff --git a/src/main/java/uta/cse3310/Round.java b/src/main/java/uta/cse3310/Round.java index 72d700f..6a792bc 100644 --- a/src/main/java/uta/cse3310/Round.java +++ b/src/main/java/uta/cse3310/Round.java @@ -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 wordsforgame; HashSet lettersguessed = new HashSet<>(); HashSet correctguesses = new HashSet<>(); @@ -31,7 +31,7 @@ public Round(List players, String wordFilePath, String stakeFilePath) th System.out.println("words chosen" + wordsforgame); this.lettersinword = wordlist.findletters(wordsforgame); //HashSet 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; @@ -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); } } - - - - - - - -