def convert_move_to_action(move_str: str):
    """

    :param move_str: A1 -> 0, H8 -> 63
    :return:
    """
    if move_str[:2].lower() == "pa":
        return None
    pos = move_str.lower()
    x = ord(pos[0]) - ord("a")
    y = int(pos[1]) - 1
    return y * 8 + x