Give the subcubes a checkerboard-like coloring so that no two adjacent subcubes have the same color. If the corner subcubes are black, the cube will have 14 black subcubes and 13 white ones. The mouse always alternates colors and so must end in a black subcube. But the center subcube is white, so the mouse can't end there.

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access