pygame is
pygame.org is
|
Tetris in 73 Lines
Tetris in 73 Lines - 1Jordan Trudgett (tgfcoder)Tags:puzzle simple tetris tgfcoder colorful short DescriptionTetris written in 73 lines. Was originally 150+, then removed comments, extra space (indentation spacing and also "x = 5", "6, 7, 8, 9" spaces for example) and put anything possible onto one line, separated by semi-colons. The code itself is 2.6K and is 73 lines (probably can still be shortened.) See if you can work out what each part does! (The list manipulations would be the trickiest, I think.) I was inspired by a similar tetris game written in 256 bytes... it probably does less than mine, but I thought it was still damn impressive. :P For a less sadistic approach to Python, see my masterpiece-in-progess, Ardentryst. www.pygame.org/project/596/ Controls
ChangesUpdated the Source URI. Links
Screenshot Releases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
|