An open API service indexing awesome lists of open source software.

https://github.com/shivamsaurabh25/tic-tac-toe

๐ŸŽฎ Tic Tac Toe Deluxe โ€“ A modern, animated Tic Tac Toe game built with React and Tailwind CSS. Features dark/light mode, player forms, scoring system, endless mode, confetti celebration, glowing UI effects, and responsive design
https://github.com/shivamsaurabh25/tic-tac-toe

tic-tac-toe tic-tac-toe-endless tic-tac-toe-react

Last synced: 8 months ago
JSON representation

๐ŸŽฎ Tic Tac Toe Deluxe โ€“ A modern, animated Tic Tac Toe game built with React and Tailwind CSS. Features dark/light mode, player forms, scoring system, endless mode, confetti celebration, glowing UI effects, and responsive design

Awesome Lists containing this project

README

          

# Tic Tac Toe Deluxe โญ•โŒโŒ—

A modern and animated **Tic Tac Toe** game built using **React** and **Tailwind CSS**, packed with stylish UI, dark/light mode toggle, score tracking, endless mode, confetti celebration, and glowing UI effects.

---

## Features

- **Multiplayer Support** โ€“ Enter names and play as Player X and Player O.
- **Game Modes**
- **Normal Mode**: Classic play until someone wins or it's a draw.
- **Endless Mode**: Keep playing rounds without a reset.
- **Dark/Light Mode** toggle
- **Scoreboard** for both players
- **Confetti Celebration** on win
- **Tile Fade Indicator** before disappearing
- **Responsive Design** โ€“ Works well on mobile and desktop
- **Multicolor Glow Effect** behind logo for visual flair
- **Smooth animations** and transition effects

---

## Tech Stack

- **Frontend**: React.js, Tailwind CSS
- **Animations**: Custom CSS + Tailwind utilities
- **State Management**: React useState, useEffect hooks

---

## Getting Started

### Prerequisites

- Node.js and npm installed on your machine

### Installation

1. **Clone the repo**
```bash
git clone https://github.com/shivamsaurabh25/Tic-Tac-Toe.git
cd Tic-Tac-Toe
```

2. **Install dependencies**
```bash
npm install
```

3. **Start the development server**
```bash
npm run dev
```

4. Visit `http://localhost:5173` (or the Vite default port) in your browser.

---

## Folder Structure

```bash
๐Ÿ“‚Tic-Tac-Toe/
โ”œโ”€โ”€ ๐Ÿ“‚Assets/
โ”‚ โ”œโ”€โ”€ favicon.png
โ”œโ”€โ”€ ๐Ÿ“‚src/
โ”‚ โ”œโ”€โ”€ ๐Ÿ“‚components/
โ”‚ โ”‚ โ”œโ”€โ”€ Navbar.jsx
โ”‚ โ”‚ โ”œโ”€โ”€ BoardGame.jsx
โ”‚ โ”‚ โ”œโ”€โ”€ PlayerForm.jsx
โ”‚ โ”‚ โ””โ”€โ”€ Scoreboard.jsx
โ”‚ โ”œโ”€โ”€ styles/
โ”‚ โ”‚ โ””โ”€โ”€ index.css
โ”‚ โ”œโ”€โ”€ App.jsx
โ”‚ โ””โ”€โ”€ main.jsx
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ postcss.config.js
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ tailwind.config.js
โ”œโ”€โ”€ vite.config.js
```

---

## Customization

- Change glow styles and animations in `Navbar.jsx`
- Add new game modes or rules in `BoardGame.jsx`
- Modify scoring logic in `App.jsx`

---

## Author

Made with โค๏ธ by [Shivam](https://github.com/shivamsaurabh25)

---

## License

This project is licensed under the MIT License.