Draw the shortest line connecting all dots. Go through each dot only once.

http://appshopper.com/games/dottica-mini