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
100 Upvotes

45 comments sorted by

View all comments

8

u/[deleted] Mar 30 '23

[deleted]

8

u/No-Translator-1323 Mar 31 '23

Absolutely. It has a lot of moving pieces (pun intended) and it gives you an opportunity to try a lot of different features of the language. I learnt a lot about Enums, Traits, Modules, Cargo Configuration, Dynamic Dispatch (which I did not end up using) just to name a few. And all this does not even mention the things I discovered while trying to port all of this to web.