From adc90de22d54a5796817971b522fc8d4a6671fbe Mon Sep 17 00:00:00 2001 From: andy-tieu Date: Wed, 7 Aug 2024 12:01:56 -0500 Subject: [PATCH] Testing game functionality without random words chosen --- src/main/java/uta/cse3310/Round.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/uta/cse3310/Round.java b/src/main/java/uta/cse3310/Round.java index 80620a1..335f444 100644 --- a/src/main/java/uta/cse3310/Round.java +++ b/src/main/java/uta/cse3310/Round.java @@ -72,10 +72,10 @@ public void startRound() { // Choose a random word from the list public void chooseRandomWord() { - /* this.currentWord1 = "apple"; // for testing purposes + this.currentWord1 = "apple"; // for testing purposes this.currentWord2 = "banana"; - this.currentWord3 = "cherries"; */ - List words = loadWordsFromFile("src/filtered_words.txt"); + this.currentWord3 = "cherries"; + /*List words = loadWordsFromFile("src/filtered_words.txt"); Random random = new Random(); if (words != null && !words.isEmpty()) { int wordsToGuess = random.nextInt(3) + 1; @@ -98,7 +98,7 @@ else if(wordsToGuess == 3) { System.out.println("Chosen Word 2: " + currentWord2); System.out.println("Chosen Word 3: " + currentWord3); - } + }*/ } public void checkChar() {