.
casino roulette algorithm qmid