A modern implementation of the classic Tic Tac Toe game built with React, TypeScript, and Tailwind CSS. Features include:
- 🎮 Two game modes: Player vs Player (1v1) and Player vs Computer
- 🌓 Dark/Light theme support
- 🎨 Customizable color themes
- 🌐 Multilingual support (English and Persian)
- ⏱️ Game timer for each player
- 📱 Fully responsive design
- 🎯 Move history with undo functionality
- 🎉 Victory animations with confetti
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/yourusername/tic-tac-toe.git
cd tic-tac-toe- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser.
-
Game Modes
- 1v1: Play against another player
- vs Computer: Play against AI
-
Theme Support
- Light/Dark mode
- Customizable color palettes
- Responsive design for all devices
-
Game Features
- Player timer
- Move history
- Undo moves
- Victory animations
- Game state persistence
-
Internationalization
- English support
- Persian support
- RTL layout support
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.