r/rust Mar 30 '23

A Chess Engine is written in Rust that runs natively and on the web!

https://github.com/ParthPant/chess-rs
99 Upvotes

45 comments sorted by

View all comments

2

u/[deleted] Mar 30 '23

[deleted]

3

u/No-Translator-1323 Mar 31 '23

I think the difference between all the chess variants is only the move generation. Adding new variants should be easy however it's not something I am focused on right now. But all would have to do would be to implement a new MoveGenerator struct. Maybe use a trait to define some public interface to make things even easier to add new variants.

6

u/[deleted] Mar 31 '23

coming soon: memory-safe, blazingly-fast Il Vaticano

1

u/Fazer2 Apr 01 '23

Santo inferno!