banner  
Tetris

Source Code is available: here

During my years in college, the most independant developement happens during winter and summer vacations. Summers are always reserved for larger projects, winters - smaller things. During winter of 2003 I made a tetris game. Yeah, no big deal. Couple days of C++ and Windows API. Yeah, the game is all in C++ and Windows API for graphics. No special libraries or third party dlls used.

The game is rather simple to code and the graphics "rules" are even more simpler. I added couple features here and there. With each level the color of the cubes change, with each level the picture in the right of the game screen changes. The pictures are dynamically loaded and the app can be made to load different pictures. Also, most importantly, with this app I tried out what it feels to write multilangual application. The tetris game comes out in Lithuanian and English. Of course, the number of strings is small, but you have to be careful what APIs you call. Some API calls do not deal well (or at all) with unicode and international characters.

Here is the English version in action (excuse the lame graphics):
tetris in action

I am thinking to add some features to the game (not that it is important, just to mess around). First, I am thinking to make the window be of some different shape (other than square). Also, maybe a picture download option, where you can download different image sets (different themes). So that is the plan now. By the way, you can download the game here. The image here is for my godsons bday. So don't laugh.

Back to Application Dev

footer  
Laimonas Simutis. 2004