Inspiration
Inspiration for this project came me from my colleagues after one of my friends bet me to defeat his Dino game score so I have created a simple python program which is used as Jugaad to hack the dino game, Automator
What it does
So basically it is used to automate some tasks on the desktop, so I used it as an Automator to press Key UP and Key Down to automate the chrome dino game
How we built it
I build it using python with the help of some python packages like pyautogui (for pressing the keys automatically) and pillow (for converting RGB scale To grey Scale to get the pixel data in the form of an array to automate the task whenever any cactus or bird comes inside that pixel , the pixel's constant color value will change from which we can automate the game )
Challenges we ran into
The big challenge here is that it will not work on different screens right now because we are capturing the pixels according to the screen size
What we learned
I learned a lot of new thinks like usage of python's pyautogui package to automate clicks and keyboard and also learned how we can make use of Pillow package to play with images
What's next for Dino Game Automator using Python
As I mentioned above The big challenge here is that it will not work on different screens right now because we are capturing the pixels according to the screen size so I would like to overcome this problem in the next version of this project
Log in or sign up for Devpost to join the conversation.