You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First - amazing work and huge thanks for the tutorial and this module. I know you haven't had time to keep it updated, but wanted to add the issue for other users.
I'm fairly new to Rust and love the flow of the tutorial and am finding it really useful to get familiar with basic gamedev and loops as well.
First - amazing work and huge thanks for the tutorial and this module. I know you haven't had time to keep it updated, but wanted to add the issue for other users.
I'm fairly new to Rust and love the flow of the tutorial and am finding it really useful to get familiar with basic gamedev and loops as well.
As for the issue, it seems like
WeightedChoice
andWeighted
in https://tomassedovic.github.io/roguelike-tutorial/part-12-monster-item-progression.html has been depreciated in favour ofrand::distributions::WeightedIndex
The pull request and discussion seems to have gone on here: rust-random/rand#518
A working update for the first part using WeightedIndex:
Cheers!
The text was updated successfully, but these errors were encountered: