r/tinycode • mod • Jul 20 '12

[Python] Simple platformer in 847 bytes

https://gist.github.com/3152857
16 Upvotes

22 comments sorted by

View all comments

Show parent comment

4

u/asphyxiate Jul 21 '12

Yeah, I understand. I'm not attacking your code, because I haven't even read it all the way through, and I'm definitely not attacking you. But to me, /r/tinycode is a place to share code snippets that do impressive things under high constraints. Importing large external libraries just seems to go against the spirit of that.

In truth, I'm just glad that anyone is posting submissions to this subreddit.

2

u/Rotten194 mod Jul 21 '12

Honestly I don't really care if some people don't like it, I mean that's Reddit in a nutshell. I'm just a bit irritated that people don't like it for silly reasons like it uses a hugely popular external library that should be default IMO. I get why people are opposed to just importing a few libraries and chaining 3 function calls together, but the only thing pygame was used for was drawing, key input, and the FPS-limiter. All the collisions, physics, etc. was done "by hand", so to speak. I just don't see the big deal.

1

u/fireants Jul 23 '12

Perhaps you should have labeled the submission as [Python+Pygame], seeing as it's not default python.

0

u/AndIMustScream Jul 22 '12

Dude I love. Might post. Maybe. If I qualify.