.
american roulette algorithm qgpl