A simple chess application built using JavaScript that supports basic piece movement and validations. This project is intended as a demonstration of how chess logic can be implemented, focusing on specific pieces like rooks, pawns, etc.
- Full chessboard layout.
- Rook movement with proper validations.
- Capture and move logic.
- Modular design for extending to other chess pieces.
- A browser (Chrome, Firefox, Edge, etc.).
- Optionally, a code editor like VS Code for viewing the source files.
- Clone or download the repository to your local machine.
- Open the
index.html
file located in thesrc
folder using one of the following methods:- With Live Server:
- Open the project in VS Code.
- Right-click on
index.html
in thesrc
folder and select Open with Live Server.
- Directly in Browser:
- Navigate to the
src
folder in your file explorer. - Double-click on the
index.html
file to open it in your default browser.
- Navigate to the
- With Live Server:
simple-chess/
├── src/
│ ├── index.html
│ ├── styles.css
│ ├── main.js
│ ├── assets/
│ │ ├── images/
├── screenshots/
│ ├── board.png
│ ├── victory.png
├── README.md
- Create a more visually appealing UI.
- Add multiplayer support.