Can I use it?

Hi, Richard.

My interpretation of the PyWeek rules suggests I can use pre-existing code (modules, classes, functions) from *games* (even my own) if they are:

1. published/advertised at least one month prior to PyWeek contest launch
2. and published on a community site, for example pygame.org
3. and the code is sufficiently documented so that others could understand and use it

Is that correct? If not, I'd like to correct my thinking. Please advise. Thanks!

Gumm

(log in to comment)

Comments

Sounds correct to me.  Keep in mind the rule, '2. Entries are to be written "from scratch"' in which it is mentioned that, 'The libraries must not implement any game logic.'
I think there's difference between code that's "published" in a game's open source and a page on the pygame.org cookbook. The latter will typically have an explanation or narrative around it, whereas code from your own games will typically be inaccessible to anyone else - even with a good deal of in-code documentation.
As a separate question, can I use code from someone else's game? Someone not on my team who I've never worked with?
I reckon it's fair to use other people's code as though it were a released library (with, perhaps, poor documentation).

Just as long as you're not just using their game as a game engine :-)
I think I understand the spirit of the law now. Thanks. :)

Gumm