.
american roulette algorithm qegs