From 45e6a5c4a08f21680286c8c54b8e9affbf2071fa Mon Sep 17 00:00:00 2001 From: VA-run23 <1523codes@gmail.com> Date: Fri, 4 Jul 2025 18:43:24 +0530 Subject: [PATCH] Updated Readme.md --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b1130ed --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +# ♟️ Chess Game — Real-Time Multiplayer + +Live Now: [https://chessgame-by-23neurobytes.onrender.com](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](https://nodejs.org/) — Backend runtime +- [Express](https://expressjs.com/) — Server framework +- [Socket.IO](https://socket.io/) — WebSockets for live interaction +- [chess.js](https://github.com/jhlywa/chess.js) — Game rules engine +- [EJS](https://ejs.co/) — Templating for frontend rendering +- Vanilla HTML, CSS, and JavaScript + +## 🌐 Live Deployment + +This app is publicly hosted at: + +🔗 [https://chessgame-by-23neurobytes.onrender.com](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 + +```bash +# Clone the repository +git clone https://github.com/your-username/chess-game.git +cd chess-game + +# Install dependencies +npm install