better working minimax.  seems that the pathfinding breaks when passing
in coordinates sometimes.  May have something to do with the not exact
positions i supply.