Network Game "Tic Tac Toe" (Java)
Writing a network game "Tic-Tac-Toe" in the programming language #Java. The game board is divided into a chosen number of rows and columns (minimum 3). Two clients start playing by placing "X" or "0" in the cells. The winner is the one who places three (or more, depending on the size of the game board) corresponding symbols in a row, otherwise, it is a draw. The server ends the game if one of the clients disconnects. After the session ends, the server sends game statistics to the clients (games): the number of matches, the number of wins, and losses.