Removed winning line

This commit is contained in:
2021-03-25 01:50:45 +01:00
parent 4f04ef4d39
commit f4f5b7cbc1
5 changed files with 12 additions and 28 deletions

View File

@@ -90,14 +90,6 @@ public class TicTacToe_Client {
}
private void onGameEnd(){
LinkedList<Integer> 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) {