.
casino roulette algorithm plpq