multiple_random_choice 0.1.3+1 copy "multiple_random_choice: ^0.1.3+1" to clipboard
multiple_random_choice: ^0.1.3+1 copied to clipboard

A function library to choose multiple items randomly. This library supports weighted randomly choosing too. Typical examples of usage are lottery and gacha.

0.1.3+1 #

  • Format code
  • Optimize assert

0.1.3 #

  • Add a validation(assert) of negative weight and a test
  • Update document

0.1.2 #

  • Update document

0.1.1 #

  • You can give Random instance functions. (The default is Random.secure())
  • Update document

0.1.0 #

  • initial release
4
likes
140
pub points
69%
popularity

Publisher

verified publisherhrimfaxi-lab.com

A function library to choose multiple items randomly. This library supports weighted randomly choosing too. Typical examples of usage are lottery and gacha.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on multiple_random_choice