Skip to content

Repository files navigation

TelegramMathBattleSolver

Short python script to win mathbattle (Telegram gaming bot: https://telegram.org/blog/games)

###What you need:

  1. Chrome Browser installed

  2. Webdriver for Chrome: https://sites.google.com/a/chromium.org/chromedriver/

  3. Python 2

  4. Selenium for Python (e.g: install it with pip: pip install selenium)

  5. URL to your Mathbattle Game (looks like: https://tbot.xyz/math/#eyJ1IjoyNDUzNzU0NjMsIm4iOiJSYXB...') You can get this URL by opening the Mathbattle game from your desktop client. Then just copy the URL from the Browser

  6. MathBattleSolver.py script

###Set these Variables in the script:

GAME_URL='https://tbot.xyz/math/#eyJ1IjoyNDUzNzU0NjMsIm4iOiJSY...'#See point 5WEBDRIVER_PATH='/home/path/to/webdriver'#See point 2NUMBER_OF_WINS=5000#Dont make it to obvious ;)

###Then start the script by typing: python2 MathBattleSolver.py

Now you should see a chrome window opening up. Then the game is played by the script.

See a video here:

IMAGE ALT TEXT

Have fun :)

About

Short python script to win mathbattle (Telegram gaming bot: https://telegram.org/blog/games)

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages