A simple Java console-based Tic-Tac-Toe game for two players. Features real-time grid display, win detection across rows, columns, and diagonals, and input validation for moves.
- 3x3 interactive grid.
- Two-player gameplay (X and O).
- Win detection for rows, columns, and diagonals.
- Invalid move detection.
- Displays the game board after each turn.
- Java JDK 8 or later
- Command-line interface or VS Code/IntelliJ
- Clone this repository:
git clone https://github.com/yourusername/tictactoe-java.git