Complete TypeScript chess engine without dependencies for Node.js >=24 and browsers. Includes configurable AI with difficulty levels 1-5.
js-chess-engine - npm 1.7K / week
Simple JavaScript chess engine without dependencies written in NodeJs. It can be used on both, server or client (web browser) and do not need persistent storage - handy for serverless solutions like AWS Lambda. This engine includes configurable AI computer logic.
raydog/deno-chess: A Typescript Chess engine. TS, MIT, 0 dep.
Deno-Chess is a speedy pure-Typescript chess engine. It is packaged for Deno, as well as for the browser. Features include:
- Move generation / validation, piece logic, check / checkmate detection, draw detection, etc. All the standard Chess-engine stuff.
- Can both read and write FEN strings.
- Can both read and write PGN strings.
- Fast! the game core is built on top of typed arrays, and a whole bunch of bit-math. In the end, it's roughly 10x faster than Chess.js.
JS, MIT, using crypto-js
node-chess is an algebraic notation driven chess engine that can validate board position and produce a list of viable moves (notated).
chess - npm 170/week
chess.ts - npm BSD-2-Clause
75/week
chess.ts is a chess library and rewrite of chess.js in Typescript that is used for chess move generation/validation, piece placement/movement, and check/checkmate/stalemate detection - basically everything but the AI.
web visualization "standard"
oakmac/chessboardjs: JavaScript chessboard @GitHub
It depends on jQuery v3.4.1 (or higher).
No comments:
Post a Comment