Skip to content

rickettsre/auto-google-dino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Day-94

Requirements

Automate the google dinosaur game:

On Chrome, when you try to access a website and your internet is down, you see a little dinosaur. (Apparently because dinosaurs have short arms and they "can't reach" your website.

On this page, there is a hidden game, if you hit space bar you can play the T-rex run game.

Alternatively you can access the game directly here:

https://elgoog.im/t-rex/

You goal today is to write a Python script to automate the playing of this game. Your program will look at the pixels on the screen to determine when it needs to hit the space bar and play the game automatically.

You can see what it looks like when the game is automated with a bot:

https://elgoog.im/t-rex/?bot

You might want to look up these two packages:

https://pypi.org/project/Pillow/

https://pyautogui.readthedocs.io/en/latest/

About

Automate the Google Dinosaur Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages