Files
2025-07-04 18:43:24 +05:30

1.6 KiB

♟️ Chess Game — Real-Time Multiplayer

Live Now: https://chessgame-by-23neurobytes.onrender.com

A real-time, multiplayer chess game built with Node.js, Express, Socket.IO, and chess.js, featuring a modern drag-and-drop chessboard UI, automatic board flipping, move history tracking, and spectator support.

🚀 Features

  • 🧑‍🤝‍🧑 Real-time multiplayer gameplay (2 players + unlimited spectators)
  • 🖱️ Intuitive drag-and-drop chessboard
  • 🕰️ Move history with algebraic notation, piece names, and timestamps
  • 🔁 Board auto-flips for black player
  • Invalid move detection and prevention
  • 📱 Responsive design for desktop and mobile

🛠️ Tech Stack

  • Node.js — Backend runtime
  • Express — Server framework
  • Socket.IO — WebSockets for live interaction
  • chess.js — Game rules engine
  • EJS — Templating for frontend rendering
  • Vanilla HTML, CSS, and JavaScript

🌐 Live Deployment

This app is publicly hosted at:

🔗 https://chessgame-by-23neurobytes.onrender.com

Feel free to challenge a friend or just spectate a match!

📦 Getting Started Locally

Prerequisites

  • Node.js v14 or higher

Installation

# Clone the repository
git clone https://github.com/your-username/chess-game.git
cd chess-game

# Install dependencies
npm install