Is there a finite sokoban level such that there does not exist a finite sequence of…
- User
Is there a finite sokoban level such that there does not exist a finite sequence of moves after which no box can be moved anymore?
- Assistant
Yes, there exists a finite Sokoban level where it’s impossible to reach a state where all boxes are immovable—meaning no finite sequence of moves will result in all boxes being stuck. In certain levels designed without dead ends or trap positions, boxes can always be moved, and there’s no way to render all boxes immovable.
For instance, consider a loop or circular corridor where boxes can be pushed around endlessly without any corners or walls where they can be trapped. In such a configuration, boxes cannot be pushed into positions from which they cannot be moved again. Since the game is finite, the number of distinct states is finite, but you can cycle through states without ever reaching one where all boxes are immovable.
Answer: Yes; for some finite levels, every sequence of moves leaves at least one box that can still be moved.