This is a simple Tic Tac Toe game in Java, that uses the concepts of multithreadind and sockets.
If you want to test this game locally:
- Clone the repository:
git clone https://github.com/Cristal32/Java-Tic-Tac-Toe-server-client.git
- Run the server: Server.java
- Run 2 instances of the client (for a game between you and your friend): Client.java
- Have fun
You may have noticed another folder called salon, it was for another assignment to create a private salon where users have to get authenticated in order to join and see what other members say.
Client 1 is successfully authenticated and sends a message:
Client 2 doesn't give the correct credentials and is therefore not allowed to join:
Client 3 is successfully authenticated and can see the message from Client 1
The salon's messages get stored in a separate file: 'salon_messages.txt'