From 3c3248b0dbf57d6ae486f3b1ceb40a5564ce6730 Mon Sep 17 00:00:00 2001 From: Bas de Jong Date: Thu, 18 Sep 2025 15:28:12 +0200 Subject: [PATCH] Removed unimportant code. --- src/main/java/org/toop/game/tictactoe/TicTacToe.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/org/toop/game/tictactoe/TicTacToe.java b/src/main/java/org/toop/game/tictactoe/TicTacToe.java index bc6ea8e..ca405ce 100644 --- a/src/main/java/org/toop/game/tictactoe/TicTacToe.java +++ b/src/main/java/org/toop/game/tictactoe/TicTacToe.java @@ -68,18 +68,6 @@ public class TicTacToe extends GameBase implements Runnable { private void gameThread() { while (true) { -// String command = getNewestCommand(); -// command = this.parseCommand(command).toString(); -// if (command == null) { continue; } - try { - ParsedCommand cmd = this.commandQueue.take(); - logger.info("Game {}, took command: {}", this.gameId, cmd.originalCommand); - this.addSendToQueue("OK"); - } catch (InterruptedException e) { - logger.error("Game {} has crashed.", this.gameId); - throw new RuntimeException(e); - } - // TODO: Game use the commandQueue to get the commands. }