.
american roulette algorithm szxg