Base blackjack code