Pygame Tetris programmed in roughly 3 days from scratch, no tutorials, just arcade games for reference.
Well this code needs a lot of improvements. I need to modify a lot of the code for optimizations, like completely get rid of the deep copy array in the animTetris function, add a menu, change the drop code to start a timer when the piece is about to drop (like Tetris the Grand Master does) and add some cooler effects. I'm also hopefully going to add an exploding blocks animation when you have a game over, so all the pieces get added to a list, and each piece is given a random velocity, then adjusted accordingly :-D
- Home Page