Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/riishabhraj/connect4
- Owner: riishabhraj
- Created: 2024-11-09T06:54:28.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T13:46:25.000Z (about 2 months ago)
- Last Synced: 2024-11-15T14:32:20.650Z (about 2 months ago)
- Topics: node, react, websockets
- Language: JavaScript
- Homepage: https://connect4-two-omega.vercel.app
- Size: 285 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```