AlexPetrusca / Mephisto

Next best move analysis and autoplay extension for Lichess and Chess.com
MIT License
12 stars 3 forks source link

add lc0 engine #12

Open kusayuzayushko opened 2 years ago

kusayuzayushko commented 2 years ago

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.

AlexPetrusca commented 2 years ago

@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 :)