but the I in AI it’s actually a lowrcase L, so it’s short for Algorithm
The difference being?
I’m guessing he’s saying companies are still using the same human written code, but since AI is sexy right now and is being used to describe even simple programming logic, everything is “powered by AI”
And in 2013 the key word for marketing was algorithm. The YouTube algorithm. The reddit algorithm. Etc.
Even more likely is that AI’s that write code are trained on human created code. So they aren’t coming up with new, novel ideas to problems in most cases, they are just a far more advanced “copy and paste from StackOverflow”
That’s exactly the point. It’s just how companies market their products nowadays.
I mean, true AI isn’t really a thing yet. People have been using AI wrong for a very long time now. Even ChatGPT isn’t real AI.
ChatGPT is built upon a GPT language model, which is a type of Artificial Intelligence.
Is this part of a Hi-Lo implementation for blackjack? (Also, ewww mixed types)
Yeah, just use a char for card and test
if(card < '7') count++;
else count--;
Or something, don’t mix types.
The cards should just be numbers, and an enum should be used for display names
Chars are just numbers, but yeah, an enum would work fine too, sure. The only advantage with using a char for it is that there’s no conversion needed for outputting them into strings so it’s a little easier. Less code, very readable, etc. Though yeah, thinking about it JQKA wouldn’t be numerically in the right order which could cause issues if the program did more than just implement HiLo
I hope I’m not being stupid right now, but is that the actual algorithm for counting cards in blackjack?
Half of it. This gives you the running count. You need to also keep track of “number of decks in shoe” -“number of cards dealt since last shuffle”/52 to tell you how many decks are left in the shoe, then divide the running count by the number of decks left to give you a true count.
True count higher than 1? Start increasing your bet accordingly.