.
roulette online algorithm jsgt