Connect the colored lines together in order to win.