Welcome to Blackjack ----Objective---- The goal of Blackjack is to draw cards and get them to add to 21 without going over ----Roles---- Dealer (This is the bot): Will draw cards until they get 17 or over on both hands Player: Will draw cards and try to get 21 to win, if they go over, they lose ----How to play---- Both players have two hands, the bot should draw first. When it's your turn, first draw as many cards as you want (by hitting "Hit Me" on the left side of the screen) and put them in your left hand, once done, hit stay and do the same for the right hand (by hitting "Hit Me" on the right side of the screen). If you hit stay again it will be the bot's turn. The bot will not draw cards after both of their hands are worth more than 17 because they are the dealer and that's what a dealer does. The game ends once either player has a hand worth 21, meaning said player wins OR someone goes over 21, or "bust", meaning the other player wins. ----Card Values---- Any card 2 through 10 is worth its number Jacks (J), Queens (Q), and Kings (K), are worth 10 Aces (A) are worth 11 unless you go over and have an ace in your hand, in which case, they are worth 1
Took a vacation and wanted to make this Also, for people that count cards, it's random and there's an infinite number of each card so good luck with that. Also, I didn't add betting because I didn't want to, might add it later :/ There aren't any Jokers either.