Working version of blackjack with alert boxes