![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Feb 2006
Posts: 214
Rep Power: 0
![]() |
Making tetris
I'm thinking of making a tetris game for c++ or java. I'm just wondering if you guys think that it would be hard make? Have any of you ever make a tetris game before?
__________________
Death smiles at us all. All a man can do is smile back. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
how much experiance do you have with programming?
do you want the game to be in ASCII or graphics? code it your self, use libs, script through a program....
__________________
i dont know much about programming but i try to help |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Tetris sucks, so I haven't made it. I think it might be challenging if you want to make it nice, but not too hard.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4
![]() |
I made a testris game a few years ago. The code was really crappy and it used an outdated graphics library.
__________________
PFO - My daily dose of technology. |
|
|
|
|
|
#5 |
|
Expert Programmer
Join Date: Jun 2005
Posts: 873
Rep Power: 4
![]() |
Go for it, it shouldn't be too hard.
I made a tetris game for DOS in 1989 (just found the source again). It even ran inside my friends TSR popup program "popdos", so you could hotkey into tetris at the touch of a button (and hide it again when the boss comes). You could specify the random seed when you started the game, so we would play the same game against each other to see who would get the highest score. Wasted far too much time on playing it. |
|
|
|
|
|
#6 | |
|
Hobbyist Programmer
Join Date: Feb 2006
Posts: 214
Rep Power: 0
![]() |
Quote:
__________________
Death smiles at us all. All a man can do is smile back. |
|
|
|
|
|
|
#7 |
|
Hobbyist Programmer
|
im guessing BASIC
__________________
i dont know much about programming but i try to help |
|
|
|
|
|
#8 |
|
Programmer
|
I wonder if you could make a tetris game in Batch... certainly be tricky :\
|
|
|
|
|
|
#9 |
|
Expert Programmer
Join Date: Jun 2005
Posts: 873
Rep Power: 4
![]() |
Yes it was C, 890 lines of code (I just looked), quite a lot of which was in #ifdef's due to handling two different environments (normal DOS and the PopDOS popup program).
Embarrasingly enough, there are only 6 comments in the whole 890 lines, only 3 of which were not pointlessly saying what the next line of code did. Hey, I was young, there would be at least 8 comments if I did it now :p As a background, PopDOS was a program a friend of mine wrote to allow you to pop up little applets (such as an editor, calculator, or tetris) when you were still in another program under MS-DOS (or PC-DOS or whatever). "Sidekick" was a better known commercial program that did similar things. This was back before Windows 3.0 hit the shelves, so mostly you only did one thing at a time on your computer. So I tied an onion to my belt, which was the style at the time... |
|
|
|
|
|
#10 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 378
Rep Power: 3
![]() |
I did one in Win32, it wasn't too hard. it might be easier to do in java tho.
__________________
I am Addicted to Linux! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|