I implemented the classic Tetris game. It requires Python 2 and the pygame library to run. I wrote it in Python 2.7.8 for UNIX-based operating systems, though it can be modified easily to run on Windows, too.

Once you have downloaded the Tetris folder, you can run the game with the included shell-script, i.e. type ./ in your terminal. Instructions are included in the game.

It is possible for you to modify many aspects of the game, as the source code is included in the all subfolder. Some examples for modification:



The GitHub repository is available here. Please contact me if you find any bugs/errors, or use my work for any interesting derivative work — I'd like to see what you come up with.

Follow me on Twitter.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.