.
american roulette algorithm qgsl