1 \tikzstyle{ghostblock} = [draw,rectangle,minimum height=5.6cm, minimum width=1.6cm,color=gray!80,rounded corners=2pt]
2 \newcommand*{\boxcolor}{gray!80}
3 \newcommand*{\circolor}{black}
4 \newcommand*{\gridscale}{1.0\linewidth}
5 \resizebox{\gridscale}{!}{
6 \begin{tikzpicture}[thick]
7 \draw (0,0) grid (8,5);
8 \foreach \c in {(0,0), (1,0), (2,0), (3,0), (4,0), (5,0), (6,0)}
9 \foreach \k in {(0,0), (0,1), (0,2), (0,3), (0,4), (0,5)}
10 \fill [fill=\circolor] \k + \c circle (0.14);
11 \foreach \k in {0,1,2,3,4,5}
13 \fill [fill=\boxcolor] (6.85,-0.15+\k) rectangle (7.15,0.15+\k);
14 \fill [fill=\boxcolor] (7.85,-0.15+\k) rectangle (8.15,0.15+\k);
16 \node (rect1l) [ghostblock] at (7.5,2.5) {};
17 \node (rect2l) [ghostblock] at (12.5,2.5) {};
18 \draw (rect1l.north) edge[out=45,in=135,triangle 45-] (rect2l.north);
22 \draw (10,0) grid (20,5);
23 \foreach \c in {(12,0), (13,0), (14,0), (15,0), (16,0), (17,0), (18,0)}
24 \foreach \k in {(0,0), (0,1), (0,2), (0,3), (0,4), (0,5)}
25 \fill [fill=\circolor] \k + \c circle (0.14);
26 \foreach \k in {0,1,2,3,4,5}
28 \fill [fill=\boxcolor] (9.85,-0.15+\k) rectangle (10.15,0.15+\k);
29 \fill [fill=\boxcolor] (10.85,-0.15+\k) rectangle (11.15,0.15+\k);
31 \node (rect1r) [ghostblock] at (5.5,2.5) {};
32 \node (rect2r) [ghostblock] at (10.5,2.5) {};
33 \draw (rect1r.south) edge[out=-45,in=-135,-triangle 45] (rect2r.south);
34 \foreach \k in {0,1,2,3,4,5}
36 \fill [fill=\boxcolor] (18.85,-0.15+\k) rectangle (19.15,0.15+\k);
37 \fill [fill=\boxcolor] (19.85,-0.15+\k) rectangle (20.15,0.15+\k);
39 \node (rect1r2) [ghostblock] at (19.5,2.5) {};
40 \node (rect2r2) [ghostblock] at (24.5,2.5) {};
41 \draw (rect1r2.north) edge[out=45,in=135,triangle 45-] (rect2r2.north);
45 \draw (22,0) grid (30,5);
46 \foreach \c in {(24,0), (25,0), (26,0), (27,0), (28,0), (29,0), (30,0)}
47 \foreach \k in {(0,0), (0,1), (0,2), (0,3), (0,4), (0,5)}
48 \fill [fill=\circolor] \k + \c circle (0.14);
49 \foreach \k in {0,1,2,3,4,5}
51 \fill [fill=\boxcolor] (21.85,-0.15+\k) rectangle (22.15,0.15+\k);
52 \fill [fill=\boxcolor] (22.85,-0.15+\k) rectangle (23.15,0.15+\k);
54 \node (rect1r3) [ghostblock] at (17.5,2.5) {};
55 \node (rect2r3) [ghostblock] at (22.5,2.5) {};
56 \draw (rect1r3.south) edge[out=-45,in=-135,-triangle 45] (rect2r3.south);