2 Player Quick-Click Game!

Image Image Image Image

We recently learnt about the the Processing IDE, whih allows users to create interactive simulations and objects. It is based on Java programming language, and user input is converted into Java code to implement the function.

One of our assignments for today was using the ‘key press’ feature to make objects react to user input. Given some basic code, I modified it to create a click-speed based two player game. The object of the game is to click either ‘p’ or ‘q’ (depending on player side) repeatedly, as fast as possible in order to move the disc towards your territory. As soon as the disc touches one of the players edges, he/she wins!

Click here to play the game!

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s