.
american roulette algorithm tgid