Sokoban

Sokoban is japanese for ‘warehouse keeper’: 倉庫番.

This puzzle game was originally invented in Japan in the early 80’s. You have to push crates to their proper locations with a minimum number of moves. - online / wikipedia

caption

Algorithm

The problem of solving Sokoban puzzles was first proved to be NP-hard. Further work showed that it was significantly more difficult than NP problems; it is PSPACE-complete.

Sokoban is difficult not only because of its large branching factor, but also because of its large search tree depth.

caption

Written on October 2, 2020, Last update on February 25, 2022
games search puzzle algorithm codingame