Automatic Dyno Game

Difficulty: Easy



I once saw a video on twitter demonstrating an automatic clicker using a motor, Arduino, and a light sensor. I wanted to see if I could build a Java application that requires no extra hardware and utilizes the power Java has.

In order to play this, the computer will prompt a message asking for control over the keyboard and mouse(for obvious purposes). Using the built in Robot class Java has, the program will press the space button every time a grey pixel is hovered over with the mouse(Any RGB value less than 120). Additionally, 26 pixels above the mouse will also be detecting black pixels to duck for the oncoming birds.

After focusing the application, the game can be suspended by pressing the Q key, restarted by pressing the R key, or continued by pressing the C key.

More Projects You May Like

Snake Game

Create a classic snake game! As the points get higher, the game gets faster. Great for a begginer project.


Create and learn a high payout game called Baccarat, which I built in Java.

Brick Breaker

Play Brick Breaker in Java! A classic game with some unique twists!


Create a stunning Blackjack game in Java with an easy user interface while finding the best strategies with the AI.