diff --git a/src/main/java/uta/cse3310/App.java b/src/main/java/uta/cse3310/App.java index 38900b8..8ba33b9 100644 --- a/src/main/java/uta/cse3310/App.java +++ b/src/main/java/uta/cse3310/App.java @@ -54,7 +54,7 @@ public void onOpen(WebSocket conn, ClientHandshake handshake) { if (game == null) { List players = new ArrayList<>(); // Add logic to initialize players try { - game = new Game(players, "path/to/words.txt", "path/to/stakes.txt", new Statistics()); + game = new Game(players, "src/main/resources/words.txt", "src/main/resources/stakes.txt", new Statistics()); } catch (IOException e) { e.printStackTrace(); return; diff --git a/src/main/java/uta/cse3310/HttpServer.java b/src/main/java/uta/cse3310/HttpServer.java index 665bb04..4b39093 100644 --- a/src/main/java/uta/cse3310/HttpServer.java +++ b/src/main/java/uta/cse3310/HttpServer.java @@ -13,7 +13,7 @@ public class HttpServer { private static final String HTML = "./html"; - int port = 8080; + int port = 9105; String dirname = HTML; public HttpServer(int portNum, String dirName) { diff --git a/src/main/java/uta/cse3310/Main.java b/src/main/java/uta/cse3310/Main.java deleted file mode 100644 index 706f3f6..0000000 --- a/src/main/java/uta/cse3310/Main.java +++ /dev/null @@ -1,20 +0,0 @@ -package uta.cse3310; -import java.io.IOException; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.util.ArrayList; -import java.util.List; -import java.util.Random; - - - -public class Main { - public static void main(String[] args) - { - Word word = new Word(); - word.getWords(); - WordList wordist = new WordList(); - wordist.checkLetter(); - - } -}