diff --git a/.idea/artifacts/Client_jar.xml b/.idea/artifacts/Client_jar.xml index 43fd0d3..fd650c6 100644 --- a/.idea/artifacts/Client_jar.xml +++ b/.idea/artifacts/Client_jar.xml @@ -1,17 +1,17 @@ - + $PROJECT_DIR$/out/artifacts/Client_jar - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/Client/src/TicTacToe_Client.java b/Client/src/TicTacToe_Client.java index e083e95..1312ff9 100644 --- a/Client/src/TicTacToe_Client.java +++ b/Client/src/TicTacToe_Client.java @@ -90,14 +90,6 @@ public class TicTacToe_Client { } private void onGameEnd(){ - LinkedList winCoordinates = new LinkedList<>(); - //Get winning fields - String response = client.getResponse(); - for (String s : Arrays.copyOfRange(response.split(";"), 0, 4)) { - winCoordinates.add(Integer.valueOf(s) * 300); - } - //this.drawWinningLine(winCoordinates); - //client.exitProcess(); try { Thread.sleep(1000); } catch (InterruptedException e) { diff --git a/Server/src/TicTacToe_Server.java b/Server/src/TicTacToe_Server.java index 200670b..2260e8a 100644 --- a/Server/src/TicTacToe_Server.java +++ b/Server/src/TicTacToe_Server.java @@ -63,14 +63,6 @@ public class TicTacToe_Server { if (gameEnded) { outstreams.get(client).writeUTF("gameEnded"); outstreams.get(client).flush(); - //send coordinates - String coordinates = ""; - for (Point point : ticTacToe_gameRules.getWinCoordinates()) { - coordinates += point.x + ";" + point.y + ";"; - } - //send winning fields - outstreams.get(client).writeUTF(coordinates); - serverLogger.printLog("Winning coordinates got sent", coordinates, clientNames.get(client), LogType.Output); } } catch (IOException e) { e.printStackTrace(); diff --git a/deployment/client/startClient b/deployment/client/startClient index 76ea70c..f3e63f2 100755 --- a/deployment/client/startClient +++ b/deployment/client/startClient @@ -1,3 +1,3 @@ #!/bin/sh -cd /var/www/html/files -java -jar Client.jar linux \ No newline at end of file +cd ~/Code/ArcadeMachine/out/artifacts/Client_jar/ +java -jar Client.jar linux diff --git a/out/production/Client/game/TicTacToe_Client_UML.png b/out/production/Client/game/TicTacToe_Client_UML.png deleted file mode 100644 index 47f65a9..0000000 Binary files a/out/production/Client/game/TicTacToe_Client_UML.png and /dev/null differ