Tetris is by far one of my most favourite games of all time. It is probably one of the few games I play where I can actually beat a majority of my friends. In my intro to graphics course this term the first assignment is to make the front end to tetris. So basically a lot of logic for the game has already been given to us but we have to write up all the code to actually draw the game to the screen. It may not sound like a crazy assignment but I am very excited.
I have been working away at this for about 5 or 6 hours now and slowly making progress. Besides building the normal game we have to add a few extra features to get better acquainted with OpenGL. One of the features we have to add is scaling/rotating the tetris window. So if a player clicks the window and moves the mouse left or right the tetris window needs to rotate accordingly, so something like this.
As you can see from the screenshot I am still a ways away from finishing the game. I need to get my rotating to work properly then I will start drawing what the current state of the game is. After that its simply a matter of handling key events (e.g. left, up, down, space) and that should be it.
All the graphics assignments have little bonus features so depending on how quickly I finish the assignment I will see what little things I can add. I want to try and add basic things like score count and prettier blocks, but besides that it would be nice to be able to allow 2-player controls.
Update:
I think I have rotate/scaling working. Here is a sample photo. Tomorrow I will start actually drawing tetromino’s.
Thats cool, tetris is the only game I actually play on my iphone
do mw2 in 8bits
wow, macs have 3d ? since when?