.
american roulette algorithm xmak