Skip to content

Real-time multiplayer Tic Tac Toe with chat and offline mode for playing with friends.

Notifications You must be signed in to change notification settings

ItsMeRanajit/Realtime-Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Real-Time Tic Tac Toe Game 🎮

Overview

A real-time multiplayer Tic Tac Toe game with integrated chat functionality, built using Node.js, React.js, and Socket.IO. The project also includes an offline mode where players can compete on the same device. Perfect for casual gaming and social interaction!


Features

  • Online Multiplayer: Play Tic Tac Toe with players around the world in real-time.
  • In-Game Chat: Communicate with your opponent while playing.
  • Offline Mode: Play locally with friends on the same device.
  • Responsive Design: Enjoy seamless gameplay on both desktop and mobile devices.

Tech Stack

  • Frontend: React.js
  • Backend: Node.js
  • WebSocket Communication: Socket.IO

Installation and Setup

Prerequisites

  • Node.js (v16 or higher)
  • npm (v7 or higher)

Steps

  1. Clone the repository:

bash git clone

  1. Navigate to the project folder:

bash cd

  1. Install dependencies:

bash npm install

  1. Run the development server:

bash npm start

  1. Access the app: Open https://realtime-tic-tac-toe.vercel.app/ in your browser.

Usage

Online Multiplayer Mode

  1. Open the application.
  2. Choose "Play Online."
  3. Wait for an opponent to join or invite a friend using the match link.
  4. Start playing and enjoy chatting during the match.

Offline Mode

  1. Open the application.
  2. Choose "Play with Friends."
  3. Play Tic Tac Toe on the same device.

Contributing

Contributions are welcome! If you want to improve the project or add new features:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. Open a pull request.

License

This project is licensed under the MIT License.


About

Real-time multiplayer Tic Tac Toe with chat and offline mode for playing with friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published