Page 1 of 1

Let's Play Some Tetris Motherf**ker!

Posted: Mon Apr 10, 2006 5:56 pm
by The_Hushed_Casket
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.

Posted: Mon Apr 10, 2006 7:47 pm
by JK-47
Nice :wink:

Posted: Mon Apr 10, 2006 10:53 pm
by wes
yea it's pretty cool

Posted: Wed Apr 12, 2006 9:01 am
by RaVNzCRoFT
Very nice. Wish I knew how to write stuff. :lol:

Posted: Fri Apr 14, 2006 3:51 pm
by The Arbiter
I've noticed a possible glitch (Correct me if I'm wrong) but, after I cleared a line, one block was hovering in the air, not on top of anything.

Posted: Fri Apr 14, 2006 3:58 pm
by xXxCocoFangxXx
Very Noice!!

Posted: Fri Apr 14, 2006 5:58 pm
by BEEF!!!
The Arbiter wrote:I've noticed a possible glitch (Correct me if I'm wrong) but, after I cleared a line, one block was hovering in the air, not on top of anything.
Yah, I noticed that was well.
Other than that it's good!!!

Posted: Sat Apr 15, 2006 9:35 am
by The_Hushed_Casket
BEEF!!! wrote:
The Arbiter wrote:I've noticed a possible glitch (Correct me if I'm wrong) but, after I cleared a line, one block was hovering in the air, not on top of anything.
Yah, I noticed that was well.
Other than that it's good!!!
I could fix that, but on the Wikipedia for Tetris (where I got all the scoring rules etc.) it says that that setting differs for different implementations of Tetris. When it falls regularly they call it Newtonian Gravity, and when it is like mine, it is called Naive Gravity.

Posted: Sat Apr 15, 2006 11:36 am
by [cc]z@nd!
nice writing!

now you can make your own full-fledged rpg in java! (no, i'm not tying to make you commit suicide)

Posted: Sun Apr 16, 2006 12:26 pm
by Danke
I hit a bug =o. If you rotate a piece next to one that's down already, you can make them overlap.