@Override
	public double playLevel(Map toPlay, boolean visuals) {
		int w = toPlay.getWidthInTiles();
		int h = toPlay.getHeightInTiles();
		int noSolid = 0;
		for (int x = 0; x < w; x++)
			for (int y = 0; y < h; y++)
				noSolid += toPlay.blocked(null, x, y) ? 1 : 0;
		double solidRatio = (double) noSolid / (double) (w * h);
		
		AStarPathFinder pathfinder = new AStarPathFinder(toPlay, 500, false);
		
		return pathLengthFromLocation(0,0,pathfinder,toPlay);
	}