chore: update TODO

This commit is contained in:
2025-05-13 13:49:02 +03:30
parent 90fd825bfe
commit f95cf6e7ef
+4 -1
View File
@@ -25,7 +25,7 @@ public class Server {
while(true) { while(true) {
// TODO: Accept a client connection // TODO: Accept a client connection
// TODO: Create a ClientHandler for the connected client // TODO: Create a ClientHandler named clientThread for the connected client
// TODO: uncomment this code // TODO: uncomment this code
//if(i == 0) { //if(i == 0) {
// playerOne = clientThread; // playerOne = clientThread;
@@ -37,6 +37,9 @@ public class Server {
//} //}
//i++; //i++;
//TODO add clientThread to clients and executor service //TODO add clientThread to clients and executor service
//TODO(for later): handle the situation where more than two players join at the same time
//TODO(for later): handle the situation where more than one game happens
} }
} finally { } finally {
if (listener != null) { if (listener != null) {