Gaming Bot

My vacations had started and I needed something to get me out of bed. Took me a day to build this little bot that plays The Dinosaur Game on Chrome browser. A standard Zebronics Webcam takes the video feed and sends it to a Raspberry Pi. Image Processing is performed on Python using OpenCV library. I hope to upload a tutorial soon for you to build one yourself.


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/gaming-bot

Robots and games?

I hope I don’t live to see the day where robots start to enjoy games and effectively take over the industry - humans won’t be able to compete! This is a step or two above the Tinder auto-swipe robots :wink:

Maybe coming up soon

It does seem likely that Bots will play more and more games in the near future. Here’s an example of AI being applied to a bot that learns to play Mario by itself. It starts off being much more lame than the stupidest human but has the potential to break superhuman limits: https://www.youtube.com/watch?v=qv6UVOQ0F44

Very cool project!

What is the material of the tapping thing?

Stylus

I took off the end of a stylus and attached a long wire (1-2 feet) at the conducting part near the rubber end of the stylus.

**wire **

Oh. Is that wire connected to something besides the stylus?

Yes

A stylus (for capacitive touch) generally works this way:
It picks up charges from our body and sends them to the point on screen where we tap.

However when we are not holding the stylus and instead it is operated by a machine, we need to keep a conducting body large enough in contact with the stylus (else it won’t work, you can try it out). So the wire is attached to the stylus.