Each cell has four coordinates (w, x, y, z). The outer 3×3 grid varies x (rows) and w (columns); each inner board varies y (rows) and z (columns). Lines through all 4 dimensions count.
The 3D view above shows three cubes — one per w-slice. Drag to rotate.