Card counting was literally my gateway into professional programming.
The first "real" program I ever wrote was a blackjack simulator, in MS-BASIC, around 30 years ago. My brother and I were getting ready to go with my Dad to Vegas for the first time, and we were keen on not being typical dumb ass gamblers...we wanted an edge.
We quickly learned that the only beatable game in town was card-counting at Blackjack, so I got busy first verifying that card counting wasn't some casino ploy (it wasn't), and then modifying the same simulator code to actually "teach" the systems it was simulating.
I wish I still had this code... I absolutely loved developing it, and eventually it was a very powerful blackjack system. It had configurable everything..system counts, decks, rules, players at the table, etc. I literally spent 7 years plus working on it. Eventually it was ported to Turbo Pascal for speed.
I became a whiz at counting... I eventually settled on "Wong Halves", the most complex but supposedly the most accurate count system there was. Remember, this was in the late 80s early 90s, and back then casinos were wide open to be taken.
I was only a $5 to $25 player though, so I never got any real heat. I used a 1 to 5 bet ratios (1 unit at low counts and 5 as "big bets"), which was very conservative, and looking back, I had a good deal of small-time success. Unlike my brother, I was never banned... I was far better than he at "blending in" and being personable.
Nowadays, I live in Vegas, and they have completely destroyed the chances of winning any real money at the casinos. Hell, I remember my simulations showing me that the primary money advantage was made when you had a large bet out at a high count (favorable to the player), that the fact that blackjacks came at a higher rate WAS THE ONLY REAL MONEY MAKING ADVANTAGE THERE WAS.
This is why, I feel, that the high end strip casinos NO LONGER PAY 3-2 for natural blackjacks...an outrage if ever there is one! Strip casinos now pay 6-5 for a blackjack. I have had heated arguments with pit personnel that the game should no longer be called Blackjack, so "Blackjack" pay 3-2 for naturals.
Unsurprisingly, they never saw it my way. No matter how well you count, you will NEVER win long term with natural blackjacks paying only 6-5, so save your money and your time and just goto Vegas for a good time.