♞ JavaScript mobile-first chess client.
- The game state and the game view are separated.
- The view re-renders as the state changes.
- Projections are used to validate whether a move is legal or not.
- Vectors are used to translate the position of the pieces.
Uses Stockfish-js, a JavaScript version of Stockfish compiled with WebAssembly. Stockfish-js takes the form of a Web Worker.
Stockfish relies on the universal chess interface (UCI) protocol.
Computer Chess wiki: http://computer-chess.org/doku.php
Install project dependencies:
npm i
Run development server:
npm start
Please follow the instructions in the chess-functions
repository.
Please follow the instructions in the chess-socket
repository.
Bump version and create new build
npm version patch