.
american roulette algorithm caod