AlexPetrusca / Mephisto

Next best move analysis and autoplay extension for Lichess and Chess.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add lc0 engine

kusayuzayushko opened this issue · comments

The Stockfish engine is great, but lc0 plays more like a human and (with different weights networks) can emulate a wide range of human strength from 1200 elo to 1900 (using Maia https://github.com/CSSLab/maia-chess ) or play hyper aggressive gambit style (using MeanGirl https://github.com/dkappe/leela-chess-weights/wiki/Mean-Girl:--the-most-fun-leela-style-net ) and more!
Consider adding lc0 as an option or replacing the default engine for more fun.

@kusayuzayushko I've considered adding other engines and adding Leela seems like a great choice.

Right now, Mephisto uses stockfish-js running as a WebWorker. I found this emscripten port of lc0 (https://github.com/frpays/lc0-js) that I should be able to run in the same way. So in theory, it should be pretty simple to hook everything up.

Ill add this in the next release, since Im also a bit curious to see how Leela plays :)