.
american roulette algorithm jids