Tetris (Linux)

Last update: Tue Nov 22 13:11:42 2005

This is the project I worked on as the software engineering tools course project. The software is published under the GNU General Public License.

See the flash demo (You should have flash player plugin installed).

You may find that it is the same as the MFC version under Windows. Yes, I wrote it for the course project. The main purpose is to understand the basics of software development under Linux.

The powerful tools used in the process of development include the following items. My experience with them are very limited, though.

The powerful editor. I used it for code editing, debugging, compiling, and this web page is also written with GNU Emacs. In fact, when you type M-x tetris in Emacs, you can see the tetris game in Emacs, more beautiful than mine.

The powerful tools for project configuration, compilation, and release.

A command line debugger. I used it via the GUD interface of GNU Emacs, very convenient, indeed. It can work with a graphical interface, like DDD. But debuggers like the one in Microsoft Visual Studio can't provide a command line interface.

A substitution for CVS.

Download and install:


The software is released like other Linux applications. Download the tar ball from the link above, cd to the directory where you put the file. And then run commands as below:

# tar zxvf tetris-0.1.0.tar.gz
# cd tetris-0.1.0
# ./configure && make && make install

If no error occurred, you can now type "tetris" to play the game.

My presentation

This is the presentation I made in the project report. Download the file: linux-devel.odp (made with OpenOffice.org 2.0).