Network Tic-Tac-Toe
About the Project
A client-server implementation of Tic-Tac-Toe that allows two players to play over a network. Implemented separately using both TCP and UDP protocols.
Features
Game Implementation
- 3x3 game board representation
- Turn-based gameplay
- Win/Draw detection
- Play again functionality
Networking Features
- Client-server architecture
- Real-time game state updates
- Player synchronization
- Connection management
- Both TCP and UDP implementations
Usage
- Compile the server and client executables:
make- Start the server:
./server- Connect two clients:
./client