This is the solution of the blackjack web-based game.