Add script and fix bugs in Blackjack game