.
american roulette algorithm qksc