pygame is
pygame.org is
|
Tetris in 73 Lines - 1.00Jordan Trudgett (tgfcoder)Tags: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. http://www.pygame.org/project/596/ Controls
Links
ScreenshotReleases
CommentsIf you wish to leave a comment, please sign in first.
|
|