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

How to use chess-tui with gnuchess engine? #74

Open
craftmaster1231 opened this issue May 13, 2024 · 3 comments
Open

How to use chess-tui with gnuchess engine? #74

craftmaster1231 opened this issue May 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@craftmaster1231
Copy link

craftmaster1231 commented May 13, 2024

I'm trying to run chess-tui bot game with gnuchess engine.

Created script engine.sh:

#!/bin/sh
gnuchess --uci

Gave it execution permissions by chmod +x engine.sh.

Then run:
chess-tui -e /home/alex/engine.sh
After selecting "Play against a bot", chess-tui just hangs.

Can you help me, please, what did I did wrong?

@thomas-mauran
Copy link
Owner

Good question, I managed to reproduce the bug, seems like embedding it in a sh file might be the problem but without you can't specify the --uci for gnuchess. I am labeling this as a bug and will try to investigate it, the UCI crate that I use is https://github.com/crazymerlyn/uci-rs maybe I need to make a pr on that code to add the fact to use an argument with a chess engine path.

@thomas-mauran thomas-mauran added the bug Something isn't working label May 13, 2024
@craftmaster1231
Copy link
Author

Still hangs in github latest version.
Is there a possibility to use chess-tui with gnuchess engine?

@thomas-mauran thomas-mauran reopened this Nov 6, 2024
@thomas-mauran
Copy link
Owner

Ah yes mb though this was fixed I will check it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants