.
american roulette algorithm liyl