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.
Let's Play Some Tetris Motherf**ker!
-
- Posts: 1698
- Joined: Sun Nov 07, 2004 12:13 pm
- RaVNzCRoFT
- Posts: 6208
- Joined: Mon Jan 10, 2005 3:05 pm
- Location: Raleigh, North Carolina, USA
![]() |
![]() |
-
- Posts: 334
- Joined: Sun Apr 24, 2005 3:19 pm
- Location: New York City, Bronx
- Contact:
- xXxCocoFangxXx
- Posts: 3756
- Joined: Thu Sep 08, 2005 9:57 am
- Contact:
-
- Posts: 1698
- Joined: Sun Nov 07, 2004 12:13 pm
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.BEEF!!! wrote:Yah, I noticed that was well.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.
Other than that it's good!!!

nice writing!
now you can make your own full-fledged rpg in java! (no, i'm not tying to make you commit suicide)
now you can make your own full-fledged rpg in java! (no, i'm not tying to make you commit suicide)
ASPARTAME: in your diet soda and artificial sweeteners. also, it's obviously completely safe. it's not like it will cause tumors or anything. >.>
always remember: guilty until proven innocent
always remember: guilty until proven innocent