.
american roulette algorithm jsge