XO
Case study
Real-Time Multiplayer Tic-Tac-Toe
Overview
Real-time multiplayer Tic-Tac-Toe built in a 4-person team: a thread-per-client server architecture handling live matchmaking and SHA-256-secured accounts over Apache Derby storage, plus a Minimax-powered AI opponent that evaluates every possible move.
Core capabilities
- Thread-per-client server for live matchmaking
- SHA-256-secured accounts over Apache Derby storage
- Minimax-powered "unbeatable" AI opponent
- Full JSON-based match replays for move-by-move review
Architecture
A thread-per-client Java server handles matchmaking and game state, with accounts secured via SHA-256 hashing over Apache Derby storage. The client speaks to it over sockets and falls back to a local Minimax engine for single-player matches, with every move logged to JSON for full match replay.
Project facts
- Role
- Team of 4
- Context
- ITI · 2026
- Platform
- Java Desktop
Technologies employed
JavaFXMultithreadingMinimax AIApache Derby