Code Monkey home page Code Monkey logo

roubot's Introduction

RouBot

Disclaimer:

I've tested 3 different online casinos in practice-mode only and even then 1 of my accounts was disabled. While the thought of having a bot program that makes money on the side for you can be a little intoxicating to say the least, don't do it. Bots are against the terms of service on most sites and if you're caught you may not be able to withdraw your funds.

Roubot in action

This was a weekend experiment inspired by a mis-titled Youtube video. It uses a progressive strategy to double up after losses so it never loses. Don't get too excited though. With a betting unit of $1 and a max bet of $500 it does well most of the time, but one bad session can be catastrophic. Still, it's empowering to watch it make 'play' money all on its own.

Pre-req:

You will need to install Tesseract-OCR. You need to be able to call it from the command line. Most likely you'll need to add the following environmental variable: C:\Program Files\Tesseract-OCR\tessdata\ to PATH.

Install (Windows Only)

If you'd like to install it on Mac or *nix, you'll need to replace all the Windows API stuff with cross-platform or os specific equivalents.

  • clone or download

  • cd into the folder

  • pipenv shell

  • pipenv install

Usage

  • Open the game window - I suggest Cafe Casino ( no account required )

  • From the terminal:

  • cd into the folder

  • pipenv shell

  • python main.py

  • Follow the on-screen instructions

Once you finish the configuration, the bot will begin automatically

Please note that it can be difficult to get tesseract to read the game data properly. Depending on the casino you use, you may need to make adjustments to the image manipulations performed on the snapshots of the balance area and the number area to get tesseract-OCR to give you the correct values.

Questions:

Send your questions to [email protected]

roubot's People

Contributors

zachacious avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.