Skip to content

MilanBornarov/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

♟️ Tic-Tac-Toe

A classic two-player Tic-Tac-Toe game built with React. Clean, minimal UI with real-time win detection and instant game reset.

🎮 Features

  • 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

🚀 Getting Started

Prerequisites

  • Node.js 16+
  • npm

Installation

git clone https://github.com/MilanBornarov/TicTacToe.git
cd TicTacToe
npm install
npm start

The app will run at http://localhost:3000.

🛠️ Built With

  • React
  • JavaScript (ES6+)
  • CSS

📁 Project Structure

TicTacToe/
├── src/
│   ├── components/    # Board, Square, Status components
│   ├── App.js
│   └── index.js
├── public/
└── package.json

About

♟️ A classic Tic-Tac-Toe game built with React. Features a clean UI, turn-based two-player gameplay, win detection, and board reset.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors