Solution to Rolling Cubes

The minimum-move solution is:

U R D L L D R R U L D L U R D R U L D L U U R D R U L D R D L U L D R U

where U, D, R, L indicate theat a block is rolled up, down, left or right 
into the empty space.

Return to Java Script Home