https://github.com/shaack/cm-chessboard-playfield
A cm-chessboard plugin to validate moves and support promotions
https://github.com/shaack/cm-chessboard-playfield
Last synced: 4 months ago
JSON representation
A cm-chessboard plugin to validate moves and support promotions
- Host: GitHub
- URL: https://github.com/shaack/cm-chessboard-playfield
- Owner: shaack
- License: mit
- Created: 2022-11-12T14:48:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-24T15:22:51.000Z (over 1 year ago)
- Last Synced: 2026-02-01T10:08:26.142Z (5 months ago)
- Language: JavaScript
- Size: 384 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cm-chessboard-playfield
A cm-chessboard extension which knows the rules of chess to validate moves, support promotions and does some fancy square marking.
[See the demo page](https://shaack.com/projekte/cm-chessboard-playfield/)
Work in progress, all features are implemented for now. It's also in use in production at https://www.chessmail.eu and https://www.chessmail.de
- do move validation ✅
- keep track of the moves history ✅
- set markers for last move, check, invalid move, legal moves etc. ✅
- display a promotion dialog, if needed ✅
- add sounds ✅
- allow premoves ✅
This will replace many parts of my https://github.com/shaack/chess-console project and make it easier to use.