.
american roulette algorithm jipd