L
Size: a a a
L
M
W
M
function slidePuzzle(puzzle2D) {
const history = _slidePuzzle(puzzle2D)
const puzzle2DCtx = new Puzzle2D(puzzle2D)
puzzle2DCtx.applyHistory(history)
if ( !puzzle2DCtx.isComplected() )
return null
return history
}
L
M
M
F
M
F
M
M
F
F
L
L
F
F