This commit is contained in:
Tim Tersch
2022-03-03 11:37:50 +01:00
parent 8e9a9218be
commit 91ed88d15d

View File

@@ -89,6 +89,12 @@ public class Game {
private void gamePhase(String msg) {
if (msg.startsWith("send")) {
String args = msg.substring(5);
//vergleichen von wotd mit
//ja = spiel beendet und ausgabe word 11111
//nein = ausgabe 01102 oder so und prüfen ob man noch ein wort eingebn kann
// ja game continues nein = game lost
} else if (msg.startsWith("info")) {
} else if (msg.startsWith("exit")) {
@@ -127,16 +133,4 @@ public class Game {
public void setPort(int port) {
this.port = port;
}
public void setIp(String ip) {
this.ip = ip;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
}