A classic two-player Tic-Tac-Toe game built with React. Clean, minimal UI with real-time win detection and instant game reset.
- Two-player turn-based gameplay (X and O)
- Win detection across all rows, columns, and diagonals
- Draw detection when the board fills up
- Instant board reset without page reload
- Responsive layout
- Node.js 16+
- npm
git clone https://github.com/MilanBornarov/TicTacToe.git
cd TicTacToe
npm install
npm startThe app will run at http://localhost:3000.
- React
- JavaScript (ES6+)
- CSS
TicTacToe/
├── src/
│ ├── components/ # Board, Square, Status components
│ ├── App.js
│ └── index.js
├── public/
└── package.json