Modern Tic Tac Toe experience with three game modes:
- In Person (2 players on one device)
- vs Computer (Easy / Medium / Hard)
- Online Multiplayer (real-time via Socket.IO)
Live Link: https://playttto.netlify.app
- Responsive UI optimized for desktop + mobile browsers
- Clean 3D-inspired interface with custom favicon
- Server-authoritative online gameplay
- Private room codes + quick match queue
- Reconnect grace window for online matches
- React 18
- Vite 5
- Vanilla CSS (responsive + touch-friendly)
- Socket.IO Client
- Node.js (ESM)
- Express
- Socket.IO
- In-memory room/session management (v1)
- Two local players (
XandO) alternate turns - Win and draw detection
- Restart support
Easy: random valid movesMedium: tactical logic (win/block/center/corners)Hard: minimax-based optimal play
- Create room + share room code
- Join room by code
- Quick match pairing
- Server validates turns/moves and broadcasts state
- Restart requires both players
- 30-second reconnect grace period
npm install
npm run dev- Client:
http://localhost:5173 - Server:
http://localhost:3001
Use and modify freely for personal/learning projects.



