.
american roulette algorithm qmlw