need write a very simple version of card game called "21"(or blackjack).for simplicity cards are only represented by theire score,there are no card suits etc.userhas initial deal of 2 cards-total score reprented by a random number between 4 and 22.he can announce his cards to the croupier or ask for one more.if he asks for one more-he gets another card (random number between 2 and 11).he can have 5 cards maximum-after this he has to announce. when he announces-his score is compared to the computer's deal (computer simply rolls a random number between 10 and 26). if one player has a score higher than 21 he loses.(both can lose). if both players have score below 21-the player which is closer to 21 wins.if both have 21- it is a draw. the simple the better!
thank you for help!