Tic-Tac-Toe

Tic-Tac-Toe game server with multiple game facilities on LAN

This project implements the concepts of Socket programming, mechanism of reliable communication, multi user, multithreading in form of a game server for Tic-Tac-Toe. It can host multiple games simultaneously on LAN. Server maintains all the sessions, tracks their status (by keep alive mechanism) and allows multiple people to view any games on LAN.

It uses standard UDP, Select multi socket handling function and broadcasting protocol for communication. Complete code for the same is attached here. It’s compiled on open source GCC compiler