A simple console-based Tic-Tac-Toe game written in Java.
This project allows two players to play alternately until one wins or the game ends in a draw.
- Two-player mode
- 3x3 board layout
- Input validation (prevents overwriting cells or invalid numbers)
- Detects winners and draws
- Beginner-friendly Java code
- Clone this repository:
(https://github.com/Charanmareddy/Tic-Tac-Toe-using-java.git)