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.


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

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.

Rock Paper Scissors Game

Create a fun and interactive rock, paper, scissors game that can play against the computer or another player.