i'mI'm making a black jackblackjack game, and i and I want to take my cards images and give each a value for the game.
i'mI'm not sure how to determine their value. should i Should I just do a big switch statement with all the images names?
orOr maybe should iI check for contains with a big if statement? likeLike if the image name contains "king", then the value is 10, or or maybe there is another way which is more efficient ?
thanks!