Skip to content
NIcolas DIckreuter edited this page Mar 30, 2016 · 43 revisions

Welcome to Nicolas Dickreuter's Python Pokerbot

This pokerbot plays automatically on Pokerstars and Partypoker

Setup: Download the Pokerstars or Partypoker software and run it in Virtualbox. The Pokerbot needs to be run outside the Virtual Machine to avoid detection.

Dependencies:

  • OpenCV (for image template recognition)
  • Pytesseract (for OCR recognition of names and numbers)

Files:

  • Poker.py: Main file containing most of the decision process
  • Captcha_manager.py: If a captcha appears it ends a picture to deathbycaptcha and sends the necessary commands to Virtualbox to enter the solved captcha
  • Charts.py: Generates charts with Matplotlib for the GUI
  • Curvefitting.py: Helps to fit curves when two points and a curvature are given.
  • Genetic_Algorithm.py: Genetic algorithm to self-improve parameters for decision making, stored in strategies.xml
  • Log_manager.py: Managing the logging system
  • Montecarlo_v3.py: Native Python version of montecarlo simulation to calculate winning probabilities
  • Montecarlo_v4.py: Pure matrix Numpy version of the montecarlo simulation to get winning probabilities of given hands (currently under construction)
Clone this wiki locally