Catch-22

Put a white or black dot in some of the blank squares below. Every dot must be adjacent (horizontally, vertically, or diagonally) to exactly 2 dots of the same color. But here's the catch, every dot must also be adjacent to at least one dot of the other color. Only one dot is allowed per square, and no dots are allowed in squares containing an X.


1.
2.
3.
4.
5.

6.
7.
8.
9.
10.

11.
12.
13.
14.
15.

16.
17.
18.
19.
20.

The solutions are here.