Richard Jones' Log: Pygame.draw challenge (PyWeek off-season challenge time)

Tue, 13 Jun 2006

THE CHALLENGE:

Create a game in 64kbytes of source code using only pygame. No additional libraries, no external files (even ones loaded from a network). That means no PyOpenGL, no PNGs, no OGGs.

THE DEADLINE:

Start as soon as you read this announcement.

Human-readable, Linux-compatible entries must be received by richard@pyweek.org before midnight on the 25th of June, 2006. That's Australian Eastern Standard Time, which is UTC +10.

Multiple entries are allowed. Teams are allowed. Monkeys are allowed! Ponies, sadly, are not allowed.

THE RESULTS:

All entries will be posted to a page on the PyWeek website.

Entry gameplay instructions and license must be included in the source or in the game itself.

I will probably choose one of the entries as my favourite, and declare this in various obscure fora and private email messages. No other mention of rankings or favourites will be made.

THANKS:

Thanks to Phil Hassey for the challenge inspiration!

Comment by Fredrik on Tue, 13 Jun 2006

"Ponies, sadly, are not allowed."

Discrimination!

Comment by toby on Wed, 14 Jun 2006

Is Numeric considered part of the standard lib?

Comment by Richard Jones on Wed, 14 Jun 2006

If it doesn't ship with Python it's not part of the standard library.

Comment by toby on Wed, 14 Jun 2006

It should ship with the stdlib!

Comment by Richard Jones on Thu, 15 Jun 2006

There is an array type being developed for Python stdlib as part of the SoC2006 efforts. It won't make it into Python 2.5 though, since that's about to go beta.

Also, numpy is apparently the New Hotness. SDL-ctypes looks like only supporting it because it has additional API features to allow eg. a numpy array as an SDL surface - write to the array and on the next flip() your changes are on-screen, as opposed to having to copy the array to a surface.