Let's Play Some Tetris Motherf**ker!
Posted: Mon Apr 10, 2006 5:56 pm
Yay! I just finished writing Tetris completely from scratch. Well, actually I finished a while ago, but I couldn't get Images to work online, so I decided to use just regular primitive shapes (squares etc.) to display. It still looks good though.
This puppy weighs in at 7 classes, and 2,206 lines of code. It was written entirely in Java. It's disorganized, uncommented, and unoptimized, but who cares?! It's done! (And yes, I have way too much time on my hands)
Check it out here.
Controls:
Right/Left: Move Right/Left
Down: Move Down Faster
Up: Drop
R: Rotate
I think my scorekeeping is slightly different than most, but other than that, it is as accurate as possible.
Also, if it doesn't load, you may not have the Java JRE installed, you can get it here.
This puppy weighs in at 7 classes, and 2,206 lines of code. It was written entirely in Java. It's disorganized, uncommented, and unoptimized, but who cares?! It's done! (And yes, I have way too much time on my hands)
Check it out here.
Controls:
Right/Left: Move Right/Left
Down: Move Down Faster
Up: Drop
R: Rotate
I think my scorekeeping is slightly different than most, but other than that, it is as accurate as possible.
Also, if it doesn't load, you may not have the Java JRE installed, you can get it here.