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

Guitar Hero

Create a custom version of Guitar Hero in Java. A great game to practice building skills.

Fireworks Screensaver

An animated screensaver that displays pixel fireworks. It also gives details on how many have been launched since opened. Set it as your background!

Scrolling Marquee Project

Enter custom messages and watch them scroll across the screen like the signs that appear off of highways!

Quadratic Calculator Program

A program I wrote in the 8th grade to solve my own math homework. Study from it and build your own math problem solver.