+ raise PlayError('would move out of map')
+ elif test_pos in [t.position for t in self.thing.game.things]:
+ raise PlayError('would collide with other things')
+ elif self.thing.game.map[test_pos] != '.':
+ raise PlayError('would move into illegal territory')