def score(x_coord, y_coord):
    distance = x_coord**2 + y_coord**2
    rules = (1.0, 10), (25.0, 5), (100.0, 1), (200.0, 0)

    for distance, point in rules:
        if length <= distance:
            return point