Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request to be able to use other chess engines #11

Open
H3X0M opened this issue Nov 15, 2023 · 9 comments
Open

request to be able to use other chess engines #11

H3X0M opened this issue Nov 15, 2023 · 9 comments

Comments

@H3X0M
Copy link

H3X0M commented Nov 15, 2023

Please make it so that it can use other chess engines

@Hakorr
Copy link
Collaborator

Hakorr commented Nov 15, 2023

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

@H3X0M
Copy link
Author

H3X0M commented Nov 25, 2023

1 similar comment
@H3X0M
Copy link
Author

H3X0M commented Nov 25, 2023

@kusayuzayushko
Copy link

kusayuzayushko commented Nov 30, 2023

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
Copy link
Collaborator

Hakorr commented Dec 1, 2023

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
Copy link

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
Copy link
Collaborator

Hakorr commented Jan 2, 2024

Please let's think on what can be done?

That's possible locally for sure.

@kusayuzayushko
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@kusayuzayushko @Hakorr @H3X0M and others