JAVA: TETRIS

Started by dmart28, December 06, 2010, 01:44:44 AM

Previous topic - Next topic

dmart28

Hey all,

i am in a computer programming course in which i am coding a tetris game in java that will have many key features and ideally run smoothy as well. Is anybody here familiar with Java? I am decent but see myself running into more than a few syntax errors   ... haha.

also, if i get the game running to satisfaction i am thinking about renting a server to host it on for a week or two just for fun so anyone would be free to try it out...

But yea, just wondering if anyone here may be able to help troubleshoot a few lines of code??

thx


dan

vipjun

Have you tried taking a look at the source code for nullpomino

http://code.google.com/p/nullpomino/

might a bit super confusing if you're just starting out coding.

XaeL

Quote from: vipjun
Have you tried taking a look at the source code for nullpomino

http://code.google.com/p/nullpomino/

might a bit super confusing if you're just starting out coding.
are you kidding me, the nullpomino code is so simple that I feel ashamed as a programmer (i used to think my code was pretty fking clean)



QuoteLike many setups here, it is useful if your opponent doesn't move and you get 4 Ts in a row.

xlro

#3
yeah, the nullpo source is well made
I'd suggest that after you finish your project for the course you're taking, you rather donate your coding efforts into improving nullpo (it has a small enough multiplayer community as is) - could be fun. :)
[div align=\\\"center\\\"]NullpoMino[/div]

Wojtek

#4
Tetris is very easy to make, i think in basic tetris game rotations are hardest part, this page will be handy: http://harddrop.com/wiki/SRS
Recommended games:
NullpoMino
Tetris Online Poland

Paradox

[!--quoteo--][div class=\\\'quotetop\\\']QUOTE[/div][div class=\\\'quotemain\\\'][!--quotec--] many key features [/quote]

Like keyblox? If this game would be multiplayer and have keyblox controls I would love you.
[!--ImageUrlBegin--][a href=\\\"http://oi46.tinypic.com/2zqx63k.jpg\\\" target=\\\"_new\\\"][!--ImageUrlEBegin--][img width=\\\"400\\\" class=\\\"attach\\\" src=\\\"http://oi46.tinypic.com/2zqx63k.jpg\\\" border=\\\'0\\\' alt=\\\"IPB Image\\\" /][!--ImageUrlEnd--][/a][!--ImageUrlEEnd--]

dmart28

Quote from: Paradox
Like keyblox? If this game would be multiplayer and have keyblox controls I would love you.

i think i can add keyblox controls, multiplayer may be a bit more challenging but if i got time it's worth a stab

i got the game running pretty well, spent the whole night coding it, a few glitches with some rotation but should iron it out and start adding some new stuff tonight

thanks for all the suggestion, and no kidding on the null code,  that reads like a novel very impressive...