1.13.1 • Published 20 days ago
@lubert/node-uci-engine v1.13.1
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.1
20 days ago
1.13.0
20 days ago
1.12.0
4 months ago
1.11.0
4 months ago
1.9.0
2 years ago
1.10.0
2 years ago
1.8.1
3 years ago
1.8.0
4 years ago
1.7.0
4 years ago
1.6.4
4 years ago
1.6.3
4 years ago
1.6.2
4 years ago
1.6.1
4 years ago
1.6.0
4 years ago
1.5.0
4 years ago
1.4.6
4 years ago
1.4.5
4 years ago
1.4.4
4 years ago
1.4.3
4 years ago
1.4.2
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.0
4 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.1
4 years ago