\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 (4) at (18, 0) {$4$};
	\node (1) at (22, 0) {$1$};
	\node (2) at (40, 0) {$2$};

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