SU
Size: a a a
SU
T
F
SU
T
НА
T
M
L
L
AK
L
M
CM
L
for(let x = 0; x < WIDTH - 1; x++) {
L
L
function slidePuzzle(puzzle2D) {
const history = _slidePuzzle(puzzle2D)
const puzzle2DCtx = new Puzzle2D(puzzle2D)
puzzle2DCtx.applyHistory(history)
if ( !puzzle2DCtx.isComplected() )
return null
return history
}
S
function slidePuzzle(puzzle2D) {
const history = _slidePuzzle(puzzle2D)
const puzzle2DCtx = new Puzzle2D(puzzle2D)
puzzle2DCtx.applyHistory(history)
if ( !puzzle2DCtx.isComplected() )
return null
return history
}
L