\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 (3) at (0, 0) {$3$};
	\node (6) at (6, 0) {$6$};
	\node (5) at (10, 0) {$5$};
	\node (1) at (20, 0) {$1$};
	\node (4) at (29, 0) {$4$};
	\node (2) at (42, 0) {$2$};

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