Another simple Bevy 3D Chess

I’ve just uploaded the minimal Bevy 3D chess board that I created a few weeks ago for my tiny chess engine. Personally, I currently prefer my EGUI version, but the Bevy version serves as a functional example of a 3D chess board. It looks quite nice, though, as I only recently started working with Bevy—and just one year ago with Rust—there's certainly room for improvement:

GitHub - StefanSalewski/Bevy-3D-Chess: Rust 3D Chess with the Bevy Engine

4 Likes

Looks good.

Have you considered implementing the UCI protocol?

It would allow other engines to use your UI - and also let your engine play on the FICS server...

Yes, implementing the UCIProtocol protocol might be a fine exercise to practice more Rust. But of course my tiny 2000 lines engine can be not as strong as the real chess engines. And chess and Bevy have been mostly fun exercises for me to learn Rust.

You don't have to beat stockfish - there are a large variety of small chess engines out there. Including <1000 line python ones. Many are conceptually similar - minmax search with a simple material based evaluation function. If you don't have bugs your engine will probably do ok.

With UCI, the GUI is the master program - it spawns a subprocess that runs the engine. They communicate via stdin/stdout - that is the only coupling. It is a simple text based protocol. Stockfish does not have its own GUI - you pick a random UCI gui for it.

Up to you of course - but I think it could be useful.
Though there is a long list of chess GUIs (UCI) - in practise many of them are not maintained, over complicated or only support one platform.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.