Psyyke / A.C.A.S

Advanced Chess Assistance System (Chess Cheat) for Chess.com, Lichess.org, Pychess.org and more. Hassle-free 1-click install, no downloading. All devices and browsers supported.
https://psyyke.github.io/A.C.A.S/
GNU General Public License v3.0
62 stars 6 forks source link

request to be able to use other chess engines #11

Open H3X0M opened 9 months ago

H3X0M commented 9 months ago

Please make it so that it can use other chess engines

Hakorr commented 9 months ago

There aren't really any other engines that have been ported to JavaScript that work as good as Stockfish.

H3X0M commented 9 months ago

How about komodo engine ?

https://raw.githubusercontent.com/Frosty54/komodo.js/main/src/komodo.js

H3X0M commented 9 months ago

How about komodo engine ?

https://raw.githubusercontent.com/Frosty54/komodo.js/main/src/komodo.js

kusayuzayushko commented 9 months ago

Please consider adding lc0 as an option. https://github.com/frpays/lc0-js There are nets for lc0 that can emulate human play on various elo-levels from 1200 to 1900 https://github.com/CSSLab/maia-chess There are also fun, super aggressive nets that are small and don't require much computation https://github.com/dkappe/leela-chess-weights/wiki/Bad-Gyal And many more https://lczero.org/dev/wiki/best-nets-for-lc0/

Hakorr commented 8 months ago

Please consider adding lc0 as an option.

I had implemented that, and it worked poorly and slowly. This could be my fault, of course, but I doubt it.

Furthermore, I don't think the "best nets for Lc0" work for that JS port of Lc0, since it's such an old version (5 years old). The latest version of Lc0 would work well without a doubt, and I'd love to include it, but there are no JS ports of it as far as I know. I've come to the conclusion that I'd need to port it myself to make it worthwhile. I've never ported anything C/C++ to JS and would need to learn how to do that.

kusayuzayushko commented 8 months ago

Is there a way to run ACAS on localhost and add local engine like lc0 there? I played around with SF and it's really not much of a use compared to lc0. Let me explain. SF play is weird and it gets even nonesensical on low elo settings as it intentionally makes blunders to limit its strength. This is terrible thing to have for a chess assistant. And overall SF play doesn't make sense for both players, it ruins your playstile and it's obvious for everyone who sees it. Carefully adjusted lc0 is indistinguishable from human and if you use it as a co-pylot, it actually helps to improve positional play a lot. I used to run both and it's absolutely clear that using SF for a chess assistant is a dead end. Please let's think on what can be done?

Hakorr commented 7 months ago

Please let's think on what can be done?

That's possible locally for sure.

kusayuzayushko commented 7 months ago

Please let's think on what can be done?

That's possible locally for sure.

Would be awesome to have an ability to add UCI complained chess engine and an ability to select between them with a local build with some basic UI. Maybe even run multiple engines at the same time with different colors for arrows? Please, consider it at least for future updates?