Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
HeEb authored and HeEb committed Jul 25, 2024
1 parent c69edfe commit 0ea65aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/main/java/uta/cse3310/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void onOpen(WebSocket conn, ClientHandshake handshake) {
if (game == null) {
List<Player> 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;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/uta/cse3310/HttpServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
20 changes: 0 additions & 20 deletions src/main/java/uta/cse3310/Main.java

This file was deleted.

0 comments on commit 0ea65aa

Please sign in to comment.