jadijadi / riverraidrust

A text based river raid clone in Rust; streamed
GNU General Public License v3.0
94 stars 28 forks source link

Potential Fix for game panicing (cannot sample empty range ...) #57

Closed ghost closed 7 months ago

ghost commented 7 months ago

Closes #29

I just played a bit around River's gap range ( distance between left side and right side ) and figured out after few minutes of running the game no errors happened ! so just increased the gap from 3 to 8. ( made it wider ) but I'm still not sure if it's working 100% or not so dear @jadijadi may i ask you to please test this PR by your self ? hope it will be working fine.