Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wirthual/telegrammathbattlesolver
Short python script to win mathbattle (Telegram gaming bot: https://telegram.org/blog/games)
https://github.com/wirthual/telegrammathbattlesolver
chrome mathbattle-game python telegram telegram-gaming-bot webdriver
Last synced: 4 months ago
JSON representation
Short python script to win mathbattle (Telegram gaming bot: https://telegram.org/blog/games)
- Host: GitHub
- URL: https://github.com/wirthual/telegrammathbattlesolver
- Owner: wirthual
- License: mit
- Created: 2016-10-07T17:33:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-06T21:23:20.000Z (almost 4 years ago)
- Last Synced: 2023-02-27T02:11:38.552Z (almost 2 years ago)
- Topics: chrome, mathbattle-game, python, telegram, telegram-gaming-bot, webdriver
- Language: Python
- Size: 5.86 KB
- Stars: 8
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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 Browser6. MathBattleSolver.py script
###Set these Variables in the script:
```python
GAME_URL = 'https://tbot.xyz/math/#eyJ1IjoyNDUzNzU0NjMsIm4iOiJSY...' #See point 5
WEBDRIVER_PATH = '/home/path/to/webdriver' #See point 2
NUMBER_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](http://img.youtube.com/vi/PLc6rqnCgME/0.jpg)](http://www.youtube.com/watch?v=PLc6rqnCgME "Telegram Math Battle Solver")
Have fun :)