- Home Page
Pygame.org account Comments
Defenestrator 2013-03-13 15:48:22
I'm sorry, but 7 lines doesn't really count if you use semicolons to make ~10 lines into one. Just saying. Nice job, though. Very hacky :)}
Mekire 2013-03-14 01:08:18
Um... that is what "Line Crunch" is about. Exploiting the rules of Python to do something in as few lines as possible. Everyone who does Line Crunch code puts as much stuff on a single line with semi-colons as is allowed. The restriction being you can't use any compound statements. No offense intended but look into the matter a little before criticizing. I am of course not defending the validity of the code; it is what it is. A hacky line crunch.
josmiley 2013-03-13 22:09:50
1.79 Kb .... :p
717 bytes ===> http://www.pygame.org/project-...
josmiley 2013-03-13 22:24:35
717 bytes :p ===> http://www.pygame.org/project-...}
Mekire 2013-03-14 01:10:09
Yes, I have seen your byte crunch. It is very impressive. I am currently looking into ways to decrease the byte size of mine without adding lines. The ternary chaining while allowing way more per line than should be allowed, is very expensive in terms of space.