.
american roulette algorithm xniu