NineDisasters - data?

NineDisasters seems to be missing its data directory.

The award title says "data on github" -- but where?

(log in to comment)

Comments

Ah, I get it. This is why someone was complaining about sdist in skellington not packaging data/. So this person used skellington to package a source distribution and it left out the data folder. He is also using the award to hint that you can get the data folder on the github page for the project, which is probably linked in one of his diary entries.
There are no diary entries on that project page -- I looked.
Maybe this is one of the disasters. It's a augmented reality game!
https://github.com/scavpy/Strings-Team-PyWeek-Apr-2011/
Naah, I gave that award, after digging around and finding the data. There were no diary entries to comment on, and I thought it deserved an award :P
Every once in a while the game crashes with something like this:
$ python run_game.py
Traceback (most recent call last):
  File "run_game.py", line 14, in <module>
    NineDisasters.__main__.main()
  File "/home/andy/PyWeek-12-finals/unrated/pianist-envy/NineDisasters-0.0.1/NineDisasters/__main__.py", line 17, in main
    pyglet.app.run()
  File "/usr/lib/pymodules/python2.6/pyglet/app/__init__.py", line 264, in run
    EventLoop().run()
  File "/usr/lib/pymodules/python2.6/pyglet/app/xlib.py", line 83, in run
    window.dispatch_platform_event(e)
  File "/usr/lib/pymodules/python2.6/pyglet/window/xlib/__init__.py", line 1169, in dispatch_platform_event
    event_handler(e)
  File "/usr/lib/pymodules/python2.6/pyglet/window/xlib/__init__.py", line 1323, in _event_key
    self.dispatch_event('on_key_press', symbol, modifiers)
  File "/usr/lib/pymodules/python2.6/pyglet/window/__init__.py", line 1217, in dispatch_event
    EventDispatcher.dispatch_event(self, *args)
  File "/usr/lib/pymodules/python2.6/pyglet/event.py", line 349, in dispatch_event
    getattr(self, event_type)(*args)
  File "/home/andy/PyWeek-12-finals/unrated/pianist-envy/NineDisasters-0.0.1/NineDisasters/game.py", line 43, in on_key_press
    self.state.key_press(sym)
  File "/home/andy/PyWeek-12-finals/unrated/pianist-envy/NineDisasters-0.0.1/NineDisasters/states.py", line 199, in key_press
    self.player.walk(-2,wt)
  File "/home/andy/PyWeek-12-finals/unrated/pianist-envy/NineDisasters-0.0.1/NineDisasters/states.py", line 59, in walk
    dx, dy = self.deltas[self.angle]
KeyError: -450

I edited this line of states.py:
59            dx, dy = self.deltas[self.angle]
to say:
59            dx, dy = self.deltas[self.angle % 360]
and it seemed to help.