Welcome to the Tic Tac Toe game! This project includes a frontend built using React, Vite, and Tailwind CSS, and a backend implemented in Go.
- 1v1 Offline Mode: Play against another player on the same device.
- 1 vs Bot Mode: Play against a computer-controlled bot.
- Online Play (Coming Soon): A feature to play against other players online.
-
Clone the repository:
git clone https://github.com/your-username/tic-tac-toe.git
-
Install dependencies:
npm install
To start the frontend application, run:
npm run dev
This will start the Vite development server, and you can open the application in your browser at http://localhost:3000
.
- Navigate to the backend directory:
cd backend
- Install dependencies:
Make sure you have Go installed on your machine. Then, run:
go mod tidy
To start the backend server, run:
go run main.go
The backend server will start on port 8080.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.