.
american roulette algorithm qydf