Java Tetris Attack (with source)

tetrisAttack

 

One of my first forays into graphics development was building a Tetris Attack prototype in Java. This program gave me the opportunity to learn a lot of the wrong ways of doing things that simply going to class won’t give you. For a few more things I learned while creating this, see my other Tetris Attack page.

A working prototype can be downloaded as a .jar file at this link. All my source code and the assets I pulled can be downloaded here (.rar).
It should be noted that the second player on the right doesn’t actually do anything as I didn’t get around to implementing an AI. As such, the game doesn’t end when the blocks for that player reach the top of the screen (but they do for the main player).

To see the application working, simply view the video below:

Leave a Reply