Sokoban3D
Controls
- Up arrow moves forward, if possible, pushing any box in the way.
- Left and right arrows turn 90 degrees left or right, respectively.
- PAGE UP goes to the previous level.
- PAGE DOWN goes to the next level.
- BACKSPACE resets the current level.
- DELETE deletes all the boxes so you can run around the current level unblocked.
Background
All Sokoban implementations I see feature a top-down view of the entire level. This feels like a cheat because you know where everything is. I thought a Sokoban implementation in first-person perspective would be more challenging because you have to explore first to get the lay of the land. Once you have a mental picture of the level, then you can plan your moves.
The idea is a remix of
- Wireframe 18 Recreate 3D Monster Maze's 8-bit labyrinth
- Star Pusher
- sokoban
A 2 dimensional version for those who find the first-person perspective too difficult.