๐ฎ Tic Tac Toe Game - React Edition
This is a fun and interactive Tic Tac Toe game built using React, Bootstrap, and SCSS. It supports two-player mode with customized names, dynamic turns, and a responsive animated board.
๐ Play Now
๐งฉ Features
- โ Fully functional 3x3 Tic Tac Toe logic
- ๐จ Interactive UI with animations (Cross & Circle)
- ๐ง Win/draw detection with modal alerts
- ๐จโ๐ฉโ๐งโ๐ฆ Player name customization
- ๐ก Responsive design using Bootstrap Grid
- ๐จ Styled with SCSS (custom mixins for shapes)
- ๐ Hosted on GitHub Pages
๐ Project Structure
tic_tac_toe/
โโโ public/
โ โโโ index.html # HTML template
โ โโโ manifest.json # PWA metadata
โ โโโ robots.txt # Crawler rules
โโโ src/
โ โโโ App.js # App root with navbar and game
โ โโโ component/ # UI Components (Board, Players, Modals, Squares, etc.)
โ โโโ scss/ # Styling using SCSS and mixins
โ โโโ index.js # React DOM rendering
โโโ package.json # Scripts, dependencies, and homepage
โโโ README.md # Project documentation
๐ ๏ธ Installation & Setup
- Clone the Repository
git clone https://github.com/kishandev2509/tic_tac_toe.git
cd tic_tac_toe
- Install Dependencies
npm install
- Run Locally
npm start
Open http://localhost:3000 to play the game locally.
๐ Deployment
This app is deployed using GitHub Pages.
To deploy manually:
npm run deploy
Note: The
homepage
field inpackage.json
is already configured.
๐ฆ Dependencies
"react": "^18.3.1",
"bootstrap": "^5.3.3",
"react-bootstrap": "^2.10.4",
"gh-pages": "^6.1.1",
"jquery": "^3.7.1",
"popper.js": "^1.16.1",
"sass": "^1.77.6",
"web-vitals": "^4.2.1"
๐จโ๐ป Developed By
Kishan Dev
GitHub: @kishandev2509
โญ Show Your Support
If you enjoyed the game, feel free to give it a โญ on GitHub!