.
american roulette algorithm xudn