take bets and payout winners
betting logic
refactoring