Showing posts with label dev. Show all posts
Showing posts with label dev. Show all posts

Saturday, November 10, 2012

libyeux.so: a scrap library for linux

You want to create a bot ? ok, but how can you determine which cards you hold ? how much your opponent has bet ? 
Well ... there is several way to do this:
- reverse engineering of ram memory and find where are stored theses informations ? 
- reverse engineering of network communication ?
Well ... both way are not easy to do, in particulary because network communication are encrypted (maybe by openssl), and they may also encrypt all ram-information ? And not to mention that this method is not portable ! you will have to do this reverse engineering for every poker site !
So using OCR and scrap region we are interested is the best way.

OpenHoldem is a poker plateform and it scrap screen image to find all needed information. So I decided to port scrap files for linux, and I create a library libyeux.so

If you are a macos/BSD user, it's should also work for you.