# casino autoplay

## Recommended Posts

Hi

Im a complete beginner.. Ive read over most of the FAQ's etc..

A friend pointed me this way.. Im trying to create a program which can autoplay a blackjack game from an online casino.

It basically just needs to be able to select the right option (hit,stick,double,split), in accordance with what the dealer has (2,3,4,5,6,7,8,9,10,j,q,k,A) and what the player has ((2,3,4,5,6,7,8,9,10,j,q,k,A) + (2,3,4,5,6,7,8,9,10,j,q,k,A)).

Is this possible? Sorry if im wasting time/breaking any rules..

If anyone can help there may be a reward

thanks guys

##### Share on other sites

First of all, there are reasons why quick scams like these do not work and why many people fail... That aside, I am going to explain to you the principles of botting. Because that is what this is: Botting.

The program needs to know what the cards on the table are, optical recognition. That is where you have to use certain pixels on the screen, and make a checksum out of to see what the card is.. After that, you have the checksum of the card to predefined checksums of cards.

Now, you have recognized the cards that are on the table, hopefully without any errors, you have to write a huge algorithm on what you should do. In total, having 13 posibilities for each space. You have to write a total of 2197 (13^3) possible actions..

Ofcourse, in this algorithm, you can throw away very bad cards no matter what the dealer has and that limits a few possibilities. You still have to do a lot of work...

So, if I still haven't convinced you not to do it, after you read all the work that it takes. You also have to create a GUI and have several options that affect the algorithm. You have to be able to pick good tables or games (??) and work your way around any bot-prevention systems.

Edit: I did not take the option to Split into account when writing this.. Ofcourse, when you get an extra hand you have a whole lot more possibilities and you have to redo the optical recognition.

##### Share on other sites

I'm just finishing up my OCR (optical card reader) and damn is it fast .... wooohooooo .

Agreement is not necessary - thinking for one's self is!

##### Share on other sites

If you get your bot to win consistently, don't forget to post the code.

##### Share on other sites

yea, that would be great, you could also pm me it just incase i forget about it

##### Share on other sites

I've started working on my own blackjack bot.

I think that as long as you pick just one game and gear your bot to that specific ruleset, your bot doesn't need to be as flexible as Manadar suggests.

Golden Palace European Blackjack, for example only shifts card locations (areas to read for cards) upon splitting. So setup 5 normal scan areas, and shift them up or down X pixels depending on which hand is in play. The dealer's cards never move and have the same spacing as the players cards.

The cards are shuffled after each hand, so you don't need to keep track of the suites for card counting, leaving you only needing the card value.

After you have which cards that both you and the dealer have, you can check them against a table (arrays) just as if you had a standard playing strategy card.

Check for pairs, if pairs found, consult the array for that set of pairs (bottom of table) against the dealer's hand.

Check for Ace, if ace found, consult an array for that.

Otherwise, get card totals and check against dealer's hand.

Even with perfect basic strategy, the house will still have a slight (about .5%) advantage. They shuffle after each hand out of necessity, so card counting isn't an issue.

##### Share on other sites

So you're trying to build a bot to help you bonus hustle, right?

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account