Blackjack card counting

blackjack icon After seeing movies like 21, I was naturally curious about whether the system truly works.
So, I made a simple card counting robot, using the hi-lo counting system and typical Las Vegas Blackjack rules.
And it works!
Here's the resulting script, and an example result.

blackjack script screenshot

If you find any bugs/issues with the script, please contact me.