anthonypileggi / casino

Play casino games in the R console
https://anthonypileggi.github.io/casino/
Other
10 stars 4 forks source link

Slots: use the `prob` argument from `sample()` when spinning #6

Open anthonypileggi opened 5 years ago

anthonypileggi commented 5 years ago

Do this

Update this line to use the prob argument, instead of drawing from a massive vector.

It might not hurt to make the odds of winning more reasonable along the way....