This project implements a simple Tic Tac Toe game using Socket programming. It allows two players to connect to a server and play the game remotely.
- server.py: Server-side script that manages the game logic and communication with connected clients.
- player.py: Client-side script for each player, responsible for handling user input and communicating with the server.
-
Clone the Repository:
git clone https://github.com/yourusername/tic-tac-toe-socket.git cd tic-tac-toe-socket
-
Check IP address of your server:
ipconfig
-
Modify address in server.py for host variable to match the IP address of the server
-
Run server.py first on the host device
python server.py
-
Run player.py on two separate terminals or two different devices
python player.py
That's it. Enjoy your game!