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

Hello, I am trying to implement maia-chess to my game: #49

Open
Descartador opened this issue Mar 30, 2023 · 1 comment
Open

Hello, I am trying to implement maia-chess to my game: #49

Descartador opened this issue Mar 30, 2023 · 1 comment

Comments

@Descartador
Copy link

I am developing an educative game about chess and my idea was to present characters that play more human-like. I am using Ren'py on MAC but I am unsure how to go about implementing maia-chess to the game, any suggestions on how to go about this in a smart way?

Thank you!

@reidmcy
Copy link
Member

reidmcy commented Apr 4, 2023

In the code for the paper we used python chess with lc0, see here: https://github.com/CSSLab/maia-chess/blob/master/move_prediction/maia_chess_backend/model_loader.py. There is a slightly better version in the newer repo: https://github.com/CSSLab/maia-chess/blob/master/move_prediction/maia_chess_backend/model_loader.py, but if you want it to not rely on subprocesses you'll want to use something based on the original TF code from either our releases our the Leela training code https://github.com/LeelaChessZero/lczero-training.

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

2 participants