Skip to content

A backend server for managing a chess game, featuring WebSocket support for real-time communication.

Notifications You must be signed in to change notification settings

ankur874/Chess-BE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess-Backend

Features

  • Real-time chess gameplay using WebSockets.
  • Handles player connections, moves and game state(GAME_OVER | GAME_LEFT).

Frontend Repo

 https://github.com/ankur874/Chess-FE

Getting Started

Prerequisites

Make sure you have the following installed on your system:

  • Node.js (v14 or higher)
  • npm (Node Package Manager)

Installation

Follow these steps to set up and run the backend locally:

  1. Clone the repository:

    git clone https://github.com/ankur874/Chess-BE.git
    cd Chess-BE
    
  2. Install dependencies:

    npm install
    
  3. Start the server:

    npm start
    
  4. Start Listening

    ws://localhost:8080
    

About

A backend server for managing a chess game, featuring WebSocket support for real-time communication.

Topics

Resources

Stars

Watchers

Forks