baskerville / plato

Document reader
Other
1.25k stars 103 forks source link

Plato chess #281

Open bateast opened 1 year ago

bateast commented 1 year ago

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

inderdeepsingh commented 1 year ago

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

Szybet commented 1 year ago

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

kajusK commented 1 year ago

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

benkaiser commented 11 months ago

@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)
bateast commented 11 months ago

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

Szybet commented 11 months ago

he is not :(

benkaiser commented 11 months ago

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

bateast commented 11 months ago

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.

benkaiser commented 11 months ago

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?

bateast commented 11 months ago

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.