Py-Goratshinchess by Peter Feldtmann
A UCI chess engine that combines the power of Lc0 and Stockfish - or any two other engines you like.
The code borrows heavily from the project [CombiChess]
A UCI chess engine that combines the power of Lc0 and Stockfish - or any two other engines you like.
The code borrows heavily from the project [CombiChess]
GoratschinChess is a "chess engine" that supports the UCI chess protocol and combines 2 engines (called 'boss' and 'counselor', respectively) into one.
It works by asking the engines what they think the best move is for a given position, and then applying some logic to determine what move to actually do.
The rules that it uses are fairly simple:
* If an engine sees a mate, then do that move leading to mate immediately.
* If both engines give the same best move, then do that move.
* if the engines say something else, and the score of the counselor is better than that of the boss by a margin 'cp' (see self.score_margin in code) do the counselor's move. The default margin is 50 centipawns.
* Else, always listen to the 'boss engine'.
'Goratschin' is the name of a double-headed character from the german sci-fi series "Perry Rhodan".
Jim Ablett compiles
Comments
Post a Comment