.
american roulette algorithm bgsx