A fully functional, interactive chess game built with React.js and Vite. This project features a modern UI, move validation, and game state management.
- Complete Chess Logic: Supports all standard chess moves including castling, en passant, and promotion.
- Move Validation: Highlights legal moves for selected pieces.
- Captured Pieces: Visual tracking of captured pieces for both sides.
- Game Status: Automatic detection of Check, Checkmate, and Stalemate.
- History Tracking: Undo/Redo functionality (if implemented) or move history.
- Responsive Design: Playable on different screen sizes.
- React 18: For building the user interface.
- Vite: For fast development and building.
- JavaScript (ES6+): Core game logic and engine.
- CSS3: Styling the board and pieces.
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/KamalElmaddini/chess-game.git
-
Navigate to the project directory:
cd chess-game -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173 to play!
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is open source and available under the MIT License.
© 2025 Kamal Elmaddini. All Rights Reserved.
