An individually developed chess engine for implementing chess algorithms and personal tactic study. zChess is currently in pre-alpha and has yet to have any minor releases yet. It is built purely using Vanilla JavaScript, HTML, and CSS.
index.htmlThe landing page for the appstyle.cssBasic CSS formatting to display boardfunctionality.jsThe main logic controllerinputHandler.jsThe input manager- an
imgdirectory containing the piece images and their respective.psdsource files
All chess rules for legal moves are currently implemented in the engine including:
- Check
- Pieces can't move if it doesn't get their king out of check
- Discovered attacks that put your own king in check aren't allowed
- Castling
- Cannot castle if King or any spaces in between are threatening check
- En Passant
- Clone the repository to your local machine
- Open
index.htmlin your web browser.
Thats it!
- Checkmate / Stalemate detection
- Turn system
- Sound effects
- Code refactoring
- Mobile support
- Move King to Rook in order to Castle
- Note : This is an additional movement option, castling is already possible currently by moving two spaces to either side of the king
- Show potential moves
- AI Opponent
- Engine analysis
- Multiplayer Integration (This may require an engine rebuild)
- Chat room
- Matchmaking
- Piece not aligning with mouse position
zChess was started by Jacob Pradels in 2020 and has since been a single person development however if you are interested in contributing it is encouraged.