Removed unimportant code.

This commit is contained in:
Bas de Jong
2025-09-18 15:28:12 +02:00
parent 99c83d1361
commit 3c3248b0db

View File

@@ -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.
}