online roulette algorithm hsqn