Skip to content

riishabhraj/connect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

And install npm dependencies on backend

npm install

Run the server

node server.js

And install npm dependencies on frontend

cd client
npm install

Run the development mode

npm start