There are times when you need to give your code the ability to choose among many options that have different frequencies or probabilities of being selected. Whether you need to create a random power-up or decide the next enemy encounter, here’s a tool that you will find useful: the Roulette Wheel selection algorithm, or Fitness [...]
Categories: Algorithms,Programming,Tutorial
Tagged: Algorithms, content, fortune, procedural, roulette, selection, Tutorial, Unity3D, wheel

