welcome to blackjack! don't know how to play? well here's how to! blackjack is a card game where you get 2 cards at the start. the type of card doesn't matter, so it doesn't matter whether you got clubs, diamonds or hearts. only the number. your goal is to get the highest sum of numbers out of all your opponents. face cards (kings, queens and jacks) are all worth 10 each, while aces are worth 1. but, if you get over 21 you bust and lose. whoever's turn it is gets to either hit or stand. hitting gives you a new card and standing does nothing. once both players stand they reveal their cards to see whose is higher. highest sum of numbers wins.
welp, I made a slot machine and now blackjack. what other things shall I make? than you mixkit the for sound effects and music kinda like my other project slot machine thing, this game will randomly change and it'll update whenever I feel like it, so don't be suprised when something is a little different when you come back to this after a long time. for anyone who cares here's how the npc ai works: it will hit every time if it knows that it can. but when it has a chance of getting a bust, it rolls a number to see whether it should hit or stand. to put it simple, subtract 21 by it's sum of cards and times it by ten and that's the percentage for it to hit. for example, if if has a sum of 15 on it's cards, it would be a 60% chance (21-15=6, times 10=60) to hit. once it's sum of cards is greater or equal to 18, it just stands.