Skip to content

This is a beginner-friendly Tic Tac Toe game developed using React.js.

Notifications You must be signed in to change notification settings

Avinash-sdbegin/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ 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

โ–ถ๏ธ Run the Project Locally npm run dev

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.

About

This is a beginner-friendly Tic Tac Toe game developed using React.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published