Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ib-inu/chess-vanila-js
https://github.com/ib-inu/chess-vanila-js
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ib-inu/chess-vanila-js
- Owner: ib-inu
- Created: 2024-10-13T12:38:00.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-04T09:10:58.000Z (about 1 month ago)
- Last Synced: 2025-01-04T10:34:07.696Z (about 1 month ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Chess-Vanilla-JS
A lightweight chess game built entirely with vanilla JavaScript. This project focuses on implementing core chess mechanics, including legal piece movement and special moves like en passant. While the game currently lacks checkmate and check detection, it provides a solid base for playing multiplayer games offline.
Features
Multiplayer (Offline): Play chess against a friend locally.
Legal Move Validation: Pieces can only move according to chess rules.
En Passant: Special pawn capture move is implemented.
No Check/Checkmate: The game currently does not check for check or checkmate conditions.Usage
Once the game is running:
Each player takes turns moving their pieces according to standard chess rules.
To move a piece, simply click on it, then click on the desired square.
The game supports all legal moves, including en passant.
Note: in progressBuilt With
JavaScript (Vanilla): All game logic is implemented with pure JavaScript, without any external libraries.
HTML/CSS: Simple and clean front-end interface.TODO:-
-Black Pawn enpassant bug
-Checkmate/Check
-Castling![Screenshot 2024-10-12 115839](https://github.com/user-attachments/assets/fec67353-d59e-4838-9697-22b1fc3cca01)