XO Arena is a modern and interactive Tic Tac Toe game built using HTML, CSS, JavaScript. It supports Multiplayer mode and AI mode with selectable difficulty levels.
The project focuses on clean UI design, responsiveness, and game logic - making it suitable for both learning and fun.
-
Two Game Modes
- Multiplayer (Player vs Player)
- Play vs AI
-
AI Difficulty Levels
- Easy โ Random moves
- Medium โ Can block or win
- Hard โ Uses Minimax algorithm (unbeatable)
-
Smart AI Logic
- Win detection
- Draw detection
- Best-move calculation using Minimax
-
Score Tracking
- Tracks X and O scores
- Scores reset automatically when switching mode or difficulty
-
Modern UI
- Hover effects
- Clean layout and animation
-
Responsive Design
- Works on mobile phones, tablets, and desktops
- HTML - Structure
- CSS - Styling and responsiveness
- JavaScript - Game logic and AI