.
american roulette algorithm tpid