Skip to content

Experience the classic game of Tic Tac Toe on our versatile platform! Play against friends offline, challenge a smart bot, or compete with strangers online. Enjoy smooth gameplay, intuitive design, and endless fun!

License

Notifications You must be signed in to change notification settings

Rana718/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

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.

Table of Contents

Features

  • 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.

Frontend

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/tic-tac-toe.git
  2. Install dependencies:

    npm install

Usage

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.

Backend

Installation

  1. Navigate to the backend directory:
    cd backend
  2. Install dependencies: Make sure you have Go installed on your machine. Then, run:
    go mod tidy

Usage

To start the backend server, run: go run main.go The backend server will start on port 8080.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Experience the classic game of Tic Tac Toe on our versatile platform! Play against friends offline, challenge a smart bot, or compete with strangers online. Enjoy smooth gameplay, intuitive design, and endless fun!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published