Skip to content

BEPb/python-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

434552c · Mar 1, 2022

History

19 Commits
Oct 31, 2021
Oct 31, 2021
Oct 30, 2021
Mar 1, 2022
Mar 1, 2022
Mar 1, 2022
Mar 1, 2022
Oct 31, 2021
Oct 31, 2021
Oct 31, 2021
Oct 31, 2021
Oct 31, 2021

Repository files navigation

Profile views GitHub top language GitHub language count GitHub code size in bytes GitHub repo size GitHub GitHub last commit

GitHub User's stars

Read in other languages: Russian, हिन्दी, 中國人

CHROME browser offline game bot


In automatic mode, launches the Chrome browser under windows OS, also automatically detects screen resolutions, Based on the received data, it finds the main character - a dinosaur and calculates the response zone. My personal the record with this bot is 3119, but you feel weak?....

How to install and run


Clone the repository

$ cmd
$ git clone https://github.com/BEPb/python-bot
$ cd python-bot

Install the necessary packages (Install dependencies)

$    -r requirements.txt

Turn off the Internet, make sure of this, otherwise the game will not appear in the browser

Run our bot

$ python bot_offline.py

The bot opens the last page and updates it, in the absence of the Internet, the game opens. Because algorithm definitions based on only one zone, not taking into account the increasing speed of approaching objects does not is optimal and when you lose, the game starts again after 15 seconds, after the loss. The program itself is provided with a log file, taking into account the screen resolution and the duration of each game.

For manual selection of the response zone, the draft.py program was also written, which will perform all the same manipulations. upon launching the browser, and then it will save you a screenshot with a black rectangle highlighted in the response area. He described the code in great detail, for its improvement, this is only welcome. Python rules


About

offline bot for game on chrome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages