This project is a web-based chess game. The game allows two players to compete against each other in a classic game of chess.
- Interactive chessboard with drag-and-drop functionality
- Real-time move validation
- Real-time connectivity
- Screen-lock feature to stop scroll
- Resign and New game
- Export game as image or PGN
- Node.js: For Fast and efficient server-side runtime.
- Express: For creating a fast, minimalist, and flexible backend server framework.
- Chess.js: To implement Chess logic.
- Socket.io: Enables real-time bidirectional communication for instant game moves and updates.
- React: Provides efficient UI rendering and state management for a responsive chess interface.
- Tailwind CSS: For modern UI
- Chess.js: To implement Chess logic.
- Node.js (v16 or higher)
- npm or yarn
# Clone the repository
git clone https://github.com/c0d1ngthunder/chess.git
# Navigate to Backend directory
cd Chess/Backend
npm install
# Navigate to Frontend directory
cd ../Frontend
npm install
# Start Backend (from Backend directory)
npm start
# Start Frontend (from Frontend directory)
npm run dev
- Visit the site to play
- Drag and drop pieces to make a move.
- The move history is displayed on the side panel.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.