In blackjack the goal is to beat the dealer's hand by getting a card total as close to 21 as possible without going over (busting). The game begins with you placing a bet, after which the dealer gives you two face-up cards and takes two cards for themselves—one face up and one face down. You calculate your total using face values for numbers, 10 for face cards, and 1 or 11 for Aces, then decide whether to Hit (take another card) or Stand (keep your current total). If you go over 21, you lose immediately; otherwise, once you stand, the dealer reveals their hidden card and must continue hitting until their cards total 17 or higher. You win and double your money if your final total is closer to 21 than the dealer's or if the dealer busts.
Just a project...