def board(image, lines, show_all, do_something):
"""Compute intersections, find stone colors and return board situation."""
+ # TODO refactor show_all, do_something
lines = [dst_sort(l) for l in lines]
intersections = intersections_from_angl_dist(lines, image.size)