Connect the dot game in canvas.