Automatic Dyno Game

Difficulty: Easy

ABOUT

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

Tetris

Play Tetris in Java! A great learning experience for an Intermediate programmer!

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!

Parallel Parking Robot

Build a robot that is capable of finding a large enough gap to park in automatically.