def get_score_points(level: int, num_lines: int, dropped_grids: int = 0, hard: bool = False) -> int:
    """Determines how many points to award when lines are cleared"""

    mult = level + 1
    temp = 0

    if num_lines == 1:
        temp = 40
    elif num_lines == 2:
        temp = 100
    elif num_lines == 3:
        temp = 300
    elif num_lines == 4:
        temp = 1200

    return temp * mult + (dropped_grids * (1 if not hard else 2))