I’ve been learning Rust by building a Pokémon TCG deck simulator, and I’ve just open-sourced it here: https://github.com/bcollazo/deckgym-core
The idea is to use it to optimize decks for the game. For example, simulate thousands of games using Giant Cape, then a thousand more with Rocky Helmet, and see which one wins more games.
There are many cards left to implement. If you are a fellow Pokemon + Rust fan, looking to learn rust, or in general can help a newbie Rustacean, I invite you to contribute! Here are a few example Pull Requests:
- Implementing Tentacruel: https://github.com/bcollazo/deckgym-core/pull/5/files
- Implementing Flareon: https://github.com/bcollazo/deckgym-core/pull/4/files
- More attacks: https://github.com/bcollazo/deckgym-core/pull/10/files
Lastly, I also built a website to make the functionality more accesible. You can check it out at: https://www.deckgym.com
Thanks for taking a look, and happy coding!