Skip to content

parth2510/chrome_dinobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

chrome_dinobot

play the classic chrome dino bot on its own

It basically continously captures the a small area (in front of the dino) in the screen and make decesion when to jump of duck according to the sum of the pixels within that area, as the pixel sum would change whenever a bush or a bird is about to hit the dino

main file- pyautogui.py

figure out the coordinates before from knowcoordinates.py

intro to libraries used

PIL : Python Imaging Library (PIL) is a free library for the Python programming language that adds support for opening, manipulating, and saving many different image file formats. Pyautogui : PyAutoGUI is a Python module for programmatically controlling the mouse and keyboard without any user interaction. Time : Python “Time” Module which allows us to handle various operations regarding time, its conversions and representations, which find its use in various applications in life. Numpy :NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.

About

play the classic chrome dino bot on its own

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages