\documentclass{standalone}
\usepackage[paperwidth=\maxdimen,paperheight=\maxdimen]{geometry}
\usepackage{pgf,tikz}
\begin{document}

\begin{tikzpicture}[x=24pt, y=24pt, draw=white, double=black, line width=2.1pt]
	\node (1) at (1, 0) {$1$};
	\node (2) at (9, 0) {$2$};
	\node (6) at (17, 0) {$6$};
	\node (5) at (24, 0) {$5$};
	\node (4) at (32, 0) {$4$};
	\node (3) at (43, 0) {$3$};

	\draw[double=white,draw=green] (6) -- (17, 10) -- (40, 10) -- (40, -17) -- (6, -17) -- (6, 3) -- (12, 3) -- (12, -10) -- (34, -10) -- (34, 2) -- (29, 2) -- (29, -8) -- (14, -8) -- (14, 6) -- (4, 6) -- (4, -19) -- (42, -19) -- (42, 13) -- (0, 13) -- (0, 0) -- (1);
	\draw[double=white,draw=blue] (4) -- (32, -9) -- (13, -9) -- (13, 4) -- (5, 4) -- (5, -18) -- (41, -18) -- (41, 12) -- (16, 12) -- (16, -4) -- (27, -4) -- (27, 4) -- (36, 4) -- (36, -12) -- (10, -12) -- (10, 1) -- (8, 1) -- (8, -15) -- (38, -15) -- (38, 6) -- (24, 6) -- (5);
	\draw[double=white,draw=red] (2) -- (9, -14) -- (37, -14) -- (37, 5) -- (26, 5) -- (26, -2) -- (21, -2) -- (21, 7) -- (39, 7) -- (39, -16) -- (7, -16) -- (7, 2) -- (11, 2) -- (11, -11) -- (35, -11) -- (35, 3) -- (28, 3) -- (28, -6) -- (15, -6) -- (15, 7) -- (3, 7) -- (3, -20) -- (43, -20) -- (3);
	\draw[double=green] (5) -- (23, 0) -- (23, 9) -- (44, 9) -- (44, -13) -- (17, -13) -- (6);
	\draw[double=blue] (3) -- (43, 8) -- (25, 8) -- (25, -1) -- (22, -1) -- (22, 11) -- (45, 11) -- (45, -21) -- (2, -21) -- (2, 8) -- (19, 8) -- (19, -5) -- (31, -5) -- (31, 0) -- (4);
	\draw[double=red] (1) -- (1, 9) -- (20, 9) -- (20, -3) -- (30, -3) -- (30, 1) -- (33, 1) -- (33, -7) -- (18, -7) -- (18, 5) -- (9, 5) -- (2);
\end{tikzpicture}
\end{document}