• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    C#
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Library for randomly selecting weighted items in C#

Weighted Item Randomizer for C#

What can this library be used for?

  • Simulating biased dice or coins
  • Random outcomes in video games
  • Randomly selecting a user, but giving preference to users who haven't been selected recently.
  • Creating an AI which is randomized, yet still able to make smart decisions.
  • Simulating any other non-uniform (or uniform!) discrete probability distribution

Is this software free?

Yes! See the license page for more details.

How do I use the Weighted Item Randomizer?

Check out the Getting Started page for a quick tutorial.