๐ฎ Tic Tac Toe Game โ React + Vite
A simple and interactive Tic Tac Toe game built using React and Vite. This project demonstrates basic React concepts like state management, component-based UI, and conditional rendering.
๐ Live Demo: ๐ https://tic-tac-toe-react-six-sand.vercel.app/
โจ Features
โ Classic Tic Tac Toe gameplay (2 players)
๐ฏ Instant win and draw detection
๐ Restart game option
๐ฑ Responsive and clean UI
โก Fast performance using Vite
๐ ๏ธ Tech Stack
React
Vite
JavaScript (ES6+)
HTML5
CSS3
๐ Getting Started
Follow these steps to run the project on your local machine.
โ Prerequisites
Make sure you have installed:
Node.js (v16+ recommended)
npm
Check by running:
node -v npm -v
๐ฅ Installation
Clone the repository
git clone https://github.com/Avinash-sdbegin/tic-tac-toe.git
Go into the project folder
cd tic-tac-toe
Install dependencies
npm install
Now open in browser: ๐ http://localhost:5173
๐ Project Structure src/ โโ App.jsx โโ main.jsx โโ components/ โ โโ Board.jsx (if present) โโ styles/ public/ index.html package.json vite.config.js
๐ Deployment
This project is deployed using Vercel.
Steps used for deployment:
Push project to GitHub
Import repository in Vercel
Auto build and deploy
Live URL generated
Every new git push automatically redeploys the app ๐
๐จโ๐ป Author
Avinash Kumar
GitHub: https://github.com/Avinash-sdbegin
Project Repo: https://github.com/Avinash-sdbegin/tic-tac-toe
Live App: https://tic-tac-toe-react-six-sand.vercel.app/
๐ License
This project is licensed under the MIT License. You are free to use, modify, and distribute this project.