1 """ World and player state. """
5 """ World and player state. """
8 self._state = self._build_initial_state()
12 return self._level["level"]
16 return self._state["roaches"]
18 def _build_initial_state(self):
21 self._build_roach("roachel", intelligence=3),
22 self._build_roach("roeginald", strength=3),
23 self._build_roach("roichard", quickness=3),
26 "file": "level1.json",
30 def _build_roach(self, name, **kw):
40 "attributes": attributes,
43 def apply_event(self, *args, **kw):