framework design of blackjack game