Get compass position of player.

def _compass_position(self, player_x, player_y):
        """Get compass position of player."""
        map_dim = self._map.size_x
        third = map_dim * (1/3.0)
        for direction in mgz.const.COMPASS:
            point = mgz.const.COMPASS[direction]
            xlower = point[0] * map_dim
            xupper = (point[0] * map_dim) + third
            ylower = point[1] * map_dim
            yupper = (point[1] * map_dim) + third
            if (player_x >= xlower and player_x < xupper and
                    player_y >= ylower and player_y < yupper):
                return direction