.
american roulette algorithm xkoj