A little library to automate poker tables (Pokerstars only)
This code create a shared library with some functions to automate tables of texas's holdem poker, 2/6/9 seats, cash or tourney (PokerStars only). It can capture data from tables (through screenshot of window) like cards, stacks, stage, position and more. It also permits to click in buttons and write in box of chat and bet. See screenshot0.png for table's design needed by the library. See src/psbot0.h for types and variables and directory ./examples for examples. The library was tested in play money and open skill league from pokerstars software running over wine in slackware and ubuntu distros; results were very good, humbly.
This soft use GOCR library wich is a Optical-Character-Recognition program. Copyright (C) 2000-2012 Joerg Schulenburg.
This code is for educational purposes only. Automated software are generally prohibited by terms of service of your game provider.
- some linux distribution
- slackware 14.2: xdotool
- ubuntu 16.04: xdotool libxdo-dev imagemagick libmagick++-dev
./configure
make && sudo make install
For examples : make examples
Your own code: gcc -g -O2 -Wall -o mybot mybot.c -lpsbot0