1.13.2 • Published 1 year ago
@lubert/node-uci-engine v1.13.2
node-uci-engine
Library for automating analysis with UCI-compatible chess engines
Installation
npm install @lubert/node-uci-engine
Usage
const { Engine } = require('@lubert/node-uci-engine');
const engine = new Engine('/path/to/your/engine');
const position = { fen: 'r1bqkb1r/5ppp/p2ppn2/1pn5/3NP3/1BN5/PPP2PPP/R1BQR1K1 w kq - 4 10' };
const config = { depth: 15 };
engine.analyzePosition(
position,
config,
(result) => {
const bestMove = result.getMove();
const analysis = result.getAnalysis();
}
);
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
1.13.2
1 year ago
1.13.1
1 year ago
1.13.0
1 year ago
1.12.0
1 year ago
1.11.0
2 years ago
1.9.0
3 years ago
1.10.0
3 years ago
1.8.1
4 years ago
1.8.0
5 years ago
1.7.0
5 years ago
1.6.4
5 years ago
1.6.3
5 years ago
1.6.2
5 years ago
1.6.1
5 years ago
1.6.0
5 years ago
1.5.0
5 years ago
1.4.6
5 years ago
1.4.5
5 years ago
1.4.4
5 years ago
1.4.3
5 years ago
1.4.2
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.0
5 years ago
1.0.1
5 years ago