.
american roulette algorithm yiic