Live Site: Play Now
A real-time, multiplayer chess game built using React, WebSockets, and TypeScript. Challenge friends or play as a guest instantly — no signup needed!
- ✅ Guest & Authenticated Login
- ✅ Real-Time Multiplayer via WebSockets
- ✅ Beautiful Responsive Chessboard UI
- ✅ Move Validation using chess.js
- ✅ Game Timer with Countdown Logic
- ✅ Rematch & Notification System
- ✅ Persistent Game History
- ✅ Mobile-Friendly Design
Frontend: React, Vite, TypeScript, Tailwind CSS
Backend: Node.js, Express, WebSocket (ws)
State Management: React Context API
Game Logic: chess.js
Deployment: Render
git clone https://github.com/your-username/broot-chess-frontend.git
cd broot-chess-frontend
npm installnpm run devMake sure your backend server is also running (WebSocket + API) on the expected ports.
src/
├── components/ // UI Components
├── context/ // Global State
├── hooks/ // Custom Hooks
├── screens/ // Login, Game, etc.
├── App.tsx
├── main.tsx
Want to contribute?
- Fork the repo
- Create a new branch:
git checkout -b feature/your-feature - Commit your changes
- Push to the branch
- Open a Pull Request 🚀
- chess.js – Game rules and move validation
- react-router-dom – Routing
- framer-motion – Animations
- tailwindcss – Styling




