To visit the Live Project LIVE PREVIEW deployed in AWS EC2
To play this game open this link in one device and open once again in another device and both automatically connected.
A real-time multiplayer chess game built with Node.js, Socket.IO, and Chess.js. Players can drag and drop pieces, view captured pieces, and see whose turn it is. The UI is built using Tailwind CSS and supports spectator mode for additional users.
- Real-time multiplayer gameplay using WebSockets
- Automatic player role assignment (white / black / spectator)
- Drag and drop movement using native HTML5 APIs
- Turn indicator to show who's playing
- Captured pieces display for both players
- Board auto-rotates for black player
- Clean and responsive UI with Tailwind CSS
Frontend:
- HTML5 + Tailwind CSS
- JavaScript (Drag and Drop API)
- EJS Template Engine
Backend:
- Node.js
- Express.js
- Socket.IO (WebSocket communication)
Game Logic:
- chess.js – for move validation and game state management
git clone https://github.com/niikhilpatel/chess.git
cd chess
npm install
npm start
