Updated file structure

This commit is contained in:
2021-03-24 17:29:25 +01:00
parent 43361897ff
commit c750653925
2 changed files with 5 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ public class TicTacToe_Client {
break; break;
case "userInput": case "userInput":
client.sendToServer("test");
client.printLog("Waiting for userInput", true, LogType.Log); client.printLog("Waiting for userInput", true, LogType.Log);
while (!renderEngine.isMouseClicked()) { while (!renderEngine.isMouseClicked()) {
try { try {

View File

@@ -249,6 +249,10 @@ public class TicTacToe_Server {
ticTacToe_gameRules.resetGameState(); ticTacToe_gameRules.resetGameState();
sendGameState(client); sendGameState(client);
break; break;
default:
serverLogger.printLog("Unrecognized input", LogType.Log);
break;
} }
} }