Python + Tetris
Posted: June 14th, 2009 | Author: John del Rosario | Filed under: Experiments, Python | Tags: Experiments, Python | 1 Comment »I’ve always wanted to try out Python, and I’ve been meaning to make a Tetris clone for some time now ( my last attempt in Flash failed ). Since I didn’t have anything to do for the remainder of the summer, I decided to do both.
I wanted to post about this last week, during Tetris’ 25th anniversary, but it wasn’t done. This is my first Python app, so the code is filthy. I am quite proud of it though.
Unfortunately, I don’t know how to make an executable from a Python program, and the guys at the #python channel are less than helpful, so I’ll just put up a zip of all the files.
Python is fun and easy to learn, but I think I’ll stick with Flash. I will also be studying Django.
You need to have Python and Pygame installed to run it though, until I figure out how to make an executable.
Download the zip. Extract and run Main.py in ‘src/’ folder using Python.