bits and pieces of a python + pyglet roguelike