Going to call it and be officially done! Had a great time working with all of you guys!

(log in to comment)


Traceback (most recent call last):
  File "", line 18, in <module>
    from gamelib import main
  File "/home/bjorn/source/pyweek10/penguins-of-DOOM/gamelib/", line 46, in <module>
    field_section_gone = util.load_centered_image(DATAPATH + "pit.png")
AttributeError: 'module' object has no attribute 'load_centered_image'

It seems the cause of this is 'from import *' (though I don't see any defined in the api).  Anwyway I changed:
import util
import util as utility
 and s/util./utility./g in and that got things running for me.
well, 'up and running', as it turns out might be exagerating; up and hanging might be better description.  I get to the title screen, but pressing keyboard buttons do nothing, and I've got no sound.  Ctrl-C gives me this stack:
 File "/home/bjorn/source/pyweek10/penguins-of-DOOM/gamelib/", line 502, in main
  File "/usr/lib/pymodules/python2.6/pyglet/app/", line 264, in run
  File "/usr/lib/pymodules/python2.6/pyglet/app/", line 94, in run
    sleep_time = self.idle()
  File "/usr/lib/pymodules/python2.6/pyglet/app/", line 194, in idle
  File "/usr/lib/pymodules/python2.6/pyglet/window/xlib/", line 792, in flip
    2, (count.value + 1) % 2, byref(count))

I'm wondering if my installed version of pyglet is different from what you used - the README you included doesn't mention the version. . . or mention pyglet at all for that matter.
replace the identity tests with equality tests and it will work for you. That is where the code checks something is another_thing -> something == another_thing.
What, like

perl -i -pe 's/\bis +not\b/!=/g' *
perl -i -pe 's/\bis\b/==/g' *

or something more specific?
That looks like it would work.
yea, though I don't think you have to do all of them.  I did just the key handlers I think and was able to play.