Server needs functionality for recognizing when both clients are ready to leave the menus and begin the game. A simple while loop with the server listening for a command from the client should do. When both clients are ready, the server leaves the loop and continues on.
Server needs functionality for recognizing when both clients are ready to leave the menus and begin the game. A simple while loop with the server listening for a command from the client should do. When both clients are ready, the server leaves the loop and continues on.