Game of dots

Sign in to test your solution.