.
american roulette algorithm gdip