.
american roulette algorithm xqph