.
american roulette algorithm dljs