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

https://github.com/rushiljalal/multiplayer-tic-tac-toe

Multiplayer tic-tac-toe using WebSockets
https://github.com/rushiljalal/multiplayer-tic-tac-toe

socket-io websocket

Last synced: about 2 months ago
JSON representation

Multiplayer tic-tac-toe using WebSockets

Awesome Lists containing this project

README

          

# Multiplayer Tic-Tac-Toe

This is a multiplayer Tic-Tac-Toe game built using WebSocket. The game allows two players to play Tic-Tac-Toe in real-time.

## Features

- Real-time multiplayer gameplay
- Simple and intuitive user interface
- Responsive design for mobile and desktop

## Screenshot

![image of the app](image.png)

## Getting Started

Follow these instructions to get a copy of the project up and running on your local machine.

### Prerequisites

Make sure you have the following installed on your machine:

- [Node.js](https://nodejs.org/)
- [npm](https://www.npmjs.com/)

### Installation

1. Clone the repository:
```sh
git clone https://github.com/yourusername/multiplayer-tic-tac-toe.git
```
2. Navigate to the project directory:
```sh
cd multiplayer-tic-tac-toe
```
3. Install the dependencies:
```sh
npm install
```

### Running the App

1. Start the development server:
```sh
cd path-to-project/server
node server.js
```
2. Start the clients
```sh
cd path-to-project/
npm run dev
```