How to Beat Google's Chrome Dinosaur Game with Arduino
Arduino robot is better at Chrome dinosaur game than (some) people
Coronavirus quarantine is taking its toll on all of us, especially when the internet goes out. For six years now, Google’s been trying to offer a little levity during these moments with its dinosaur-based endless runner game, which Chrome users can play whenever they lack an internet connection. Unfortunately, this can sometimes lead to even more frustration as the game speeds up and gets more difficult, leading one arduino robotics hobbyist to take matters into their own hands. I mean, we’ve all got plenty of free time now.
Earlier this morning, the instagram account @diyelectronic posted a video credited to user @z_muir that showed a relatively simple Chrome dinosaur game robot the maker created using an arduino board, a breadboard, a photoresistor, some duct tape and a simple motor connected to a paperclip lever. After a little unseen programming, all these parts come together to press the jump button whenever the photoresistor, which has now been taped to the screen along the dinosaur’s path, detects an obstacle’s black pixels instead of the usual white of the background.
It’s a cute, relatively low-cost project that exists more for novelty than anything else. Other users have beaten the game far more effectively before through software, even machine learning. But for physical solutions, this is a clever take, and could make a good project for bored tech-savvy kids now trapped at home.
Comments do point out that the robot is bound to fail once the game speeds up too fast for the photoresistor to detect obstacles or when the game starts introducing birds- an obstacle that requires a separate input- but given that I’ve never seen a bird (or pterosaur, it’s unclear) when playing myself, it’s at least bound to do better than some humans.
The video unfortunately doesn’t go in-depth about the parts used, but our raspberry pi expert Ash Puckett told me over slack that the arduino in the video looks like an Elegoo Uno, which currently has a basic starter kit available for $44.00 on Newegg.
In the meantime, you can play Chrome’s dinosaur game, even with an active internet connection, here.
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Michelle Ehrhardt is an editor at Tom's Hardware. She's been following tech since her family got a Gateway running Windows 95, and is now on her third custom-built system. Her work has been published in publications like Paste, The Atlantic, and Kill Screen, just to name a few. She also holds a master's degree in game design from NYU.
-
computerjoe314 Another flaw: The night mode.Reply
Also, no need for an external link for the dino game. If you're in chrome, than just punch in chrome://dino to get to the dino game, without ever talking to the internet. Also, it's the real thing.
Overall, a nice article!