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

https://github.com/darshgandhi/chess-multiplayer

A real-time multiplayer online chess game built with React (Vite), Node.js, and Socket.IO. The game allows users to play against each other in a dynamic and interactive environment. Custom chess logic has been developed from scratch to handle move validation, game rules, and state management.
https://github.com/darshgandhi/chess-multiplayer

algorithms contributions-welcome javascript multiplayer-game react socket-io

Last synced: about 2 months ago
JSON representation

A real-time multiplayer online chess game built with React (Vite), Node.js, and Socket.IO. The game allows users to play against each other in a dynamic and interactive environment. Custom chess logic has been developed from scratch to handle move validation, game rules, and state management.

Awesome Lists containing this project

README

          

# Chess Game

[![Status](https://img.shields.io/badge/Status-Active%20Development-orange)](https://github.com/darshgandhi/chess-multiplayer)
[![Contributions](https://img.shields.io/badge/Contributions-Welcome-brightgreen)](https://github.com/darshgandhi/chess-multiplayer)

A real-time multiplayer online chess game built with **React (Vite)**, **Node.js**, and **Socket.IO**. The game allows users to play against each other in a dynamic and interactive environment. Custom chess logic has been developed from scratch to handle move validation, game rules, and state management.

## Demo Video (Click to View)

[![Video](https://github.com/darshgandhi/chess-multiplayer/blob/main/public/assets/Brown%20Minimalist%20Podcast%20Promotion%20Youtube%20Thumbnail.png)](https://youtu.be/eSEvcTwdFiQ)

## Play the Game

🔗 **Play Here** [Chess Multiplayer](https://chess-multiplayer.pages.dev)

> ⚠️ **Notes:**
- After hitting play, the server may take a moment to start up. Once ready, it will automatically find a match for you.
- There is a bug with the scoreboard that is pending a fix.

## Tech Stack

### Backend
- **Node.js** - Handles real-time communication and game state
- **Socket.IO** - WebSocket-based real-time multiplayer functionality

### Frontend
- **React (Vite)** - Fast and responsive UI framework
- **HTML/CSS** - Styling and layout
- **JavaScript** - Game logic and interactions

## How It Works

1. **Real-time Multiplayer:** Players can connect and compete in live chess matches.
2. **Custom Chess Logic:** All move validation, rules, and game states are handled internally.
3. **Interactive UI:** Responsive and smooth gameplay experience.
4. **Matchmaking:** Quick pairing system for finding opponents.

## Features

- **Real-time gameplay** with **Socket.IO** integration
- **Custom-built chess logic** for accurate move validation
- **Responsive UI** for smooth gameplay across devices
- **Matchmaking system** for quick game starts
- **Fast performance** powered by **React (Vite)**

## Getting Started

### Prerequisites
Ensure you have the following installed:

- **Node.js** (version 14 or higher)
- **npm** (Node Package Manager)

## License

This project is **not licensed**. You may use, copy, or modify the code at your own risk, but please respect the author's rights.

---

*This project is actively being maintained*