plato icon indicating copy to clipboard operation
plato copied to clipboard

Plato chess

Open bateast opened this issue 2 years ago • 10 comments

Chess application to be used with uci engine (like stockfish) as proposed here: https://github.com/bateast/plato/tree/binaries

See documentation https://github.com/bateast/plato/blob/plato_chess/doc/CHESS.md

interface

bateast avatar Mar 09 '23 09:03 bateast

@baskerville @bateast Is this getting merged in anytime soon?

inderdeepsingh avatar Apr 14 '23 00:04 inderdeepsingh

This is beautiful. Sad that it's not being merged. Maybe you would be interested in making a user app for InkBox OS?

Szybet avatar May 10 '23 15:05 Szybet

Any change for this MR to be merged? It's a very nice feature!

kajusK avatar Jun 26 '23 15:06 kajusK

@bateast do you want to resolve the merge conflicts on this? I'm trying to test things out on an Elipsa 2E, I'm guessing @baskerville will merge a fix for that device soon, but I'll need both that fix + the 35 other commits between your branch and master to get it working I think.

I tried just building your branch and manually adding the extra device, but I ran into a bunch of GLIBC errors:

./plato: /lib/libm.so.6: version `GLIBC_2.35' not found (required by ./plato)
./plato: /lib/libm.so.6: version `GLIBC_2.27' not found (required by ./plato)
./plato: /lib/libc.so.6: version `GLIBC_2.32' not found (required by ./plato)
./plato: /lib/libc.so.6: version `GLIBC_2.27' not found (required by ./plato)
./plato: /lib/libc.so.6: version `GLIBC_2.25' not found (required by ./plato)
./plato: /lib/libc.so.6: version `GLIBC_2.29' not found (required by ./plato)
./plato: /lib/libc.so.6: version `GLIBC_2.33' not found (required by ./plato)
./plato: /lib/libc.so.6: version `GLIBC_2.28' not found (required by ./plato)
./plato: /lib/libc.so.6: version `GLIBC_2.34' not found (required by ./plato)

benkaiser avatar Sep 12 '23 12:09 benkaiser

I'm not sure @baskerville is even interested in merging feature pull request…

bateast avatar Sep 12 '23 13:09 bateast

he is not :(

Szybet avatar Sep 12 '23 16:09 Szybet

Hey @bateast do you already have a pre-built stockfish binary I can use?

benkaiser avatar Sep 15 '23 03:09 benkaiser

Hey @bateast do you already have a pre-built stockfish binary I can use?

Hey @bateast do you already have a pre-built stockfish binary I can use?

Yes, see https://github.com/bateast/plato/tree/binaries (binaries branch).

Btw, I have merge the @baskerville main branch and so the push request.

bateast avatar Sep 15 '23 07:09 bateast

Thanks @bateast , I dropped them into the appropriate folders but I'm still not seeing any engine moves, even when clicking the "engine" button in the bottom right. Any ideas what might be going on? Any logs anywhere?

benkaiser avatar Sep 15 '23 07:09 benkaiser

Thanks @bateast , I dropped them into the appropriate folders but I'm still not seeing any engine moves, even when clicking the "engine" button in the bottom right. Any ideas what might be going on? Any logs anywhere?

Hard to tell without logs.

verify

[chess-engine-settings]
path = "bin/stockfish"

and that your device proc is armhf. Could also be a glibc version mismatch with your device or so…

compile with devel feature enable and run plato on your device with RUST_LOG=debug. Capture the logs and have a look in it.

bateast avatar Sep 15 '23 08:09 bateast