int getNumOpenSets(Space space) {
		int num = 0;
		if (isOpenForPiece(board[space.getX()], space.getPiece()))
			num++;
		if (isOpenForPiece(getColumn(space.getY()), space.getPiece()))
			num++;
		if (space.getID() % 2 == 0
				&& isOpenForPiece(getTopDownDiag(), space.getPiece()))
			num++;
		if (space.getID() % 3 == 0
				&& isOpenForPiece(getBottomUpDiag(), space.getPiece()))
			num++;
		return num;
	}