chore: update TODO
This commit is contained in:
@@ -25,8 +25,8 @@ 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user