Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/riishabhraj/connect4

Two-player strategy
https://github.com/riishabhraj/connect4

node react websockets

Last synced: 7 days ago
JSON representation

Two-player strategy

Awesome Lists containing this project

README

        

# Connect4

Connect4 is a two-player strategy game in which players take turns dropping colored discs into a vertical grid. The objective is to connect four of their own discs in a row, either horizontally, vertically, or diagonally, before their opponent does. This web-based version includes real-time multiplayer functionality using WebSockets, allowing two players to compete interactively over the web, with synchronized gameplay and turn-based mechanics.

A step by step series of examples that tell you how to get a development
environment running:

Clone the git repository

```bash
git clone https://github.com/riishabhraj/connect4.git
cd connect4
```

And install npm dependencies on backend

```bash
npm install
```

Run the server
```bash
node server.js
```

And install npm dependencies on frontend

```bash
cd client
npm install
```

Run the development mode

```bash
npm start
```