diff --git a/WordleServer.java b/WordleServer.java index ac0fd17..8b7f3e2 100644 --- a/WordleServer.java +++ b/WordleServer.java @@ -4,7 +4,7 @@ */ public class WordleServer extends Server { - publib static final int DEFAULT_PORT = 1000; + public static final int DEFAULT_PORT = 1000; public static void main( String[] args ) { new WordleServer(); @@ -26,17 +26,17 @@ public class WordleServer extends Server { @Override public void processNewConnection( String pClientIP, int pClientPort ) { - + System.out.println("New connection: " + pClientPort); } @Override public void processClosingConnection( String pClientIP, int pClientPort ) { - + System.out.println("Closed connection: " + pClientPort); } @Override public void processMessage( String pClientIP, int pClientPort, String pMessage ) { - + System.out.println("Message: " + pMessage); } } diff --git a/umlet.uxf b/umlet.uxf new file mode 100644 index 0000000..adb8955 --- /dev/null +++ b/umlet.uxf @@ -0,0 +1,105 @@ + + + 9 + + UMLClass + + 612 + 234 + 90 + 27 + + Server + + + + UMLClass + + 612 + 351 + 90 + 27 + + WordleServer + + + + Relation + + 648 + 252 + 27 + 117 + + lt=<<- + 10.0;10.0;10.0;110.0 + + + UMLClass + + 387 + 441 + 90 + 27 + + User + + + + UMLClass + + 351 + 351 + 126 + 27 + + DatabaseConnector + + + + Relation + + 648 + 369 + 27 + 90 + + lt=<. + + 10.0;80.0;10.0;10.0 + + + UMLClass + + 567 + 441 + 189 + 171 + + Game +-- +-wordleServer: WordleServer +-wordle: String +-timesPlayed: int +-winPercentage: int +-currentStreak: int +-maxStreak: int +-wonInTurn: int[] + +-words: String[] +-wordCount: int + + + + + UMLClass + + 819 + 441 + 90 + 27 + + GUI + + +