This is the solution of the blackjack procedural game.