Sokoban by Czar3k
Sokoban game implementation without GUI. Game board is simply figure object composed of concatenated images.
Keys pressed are read by the game algorithm by @key_pressed_fcn function. Image of the board is modified accordingly.
Steering: arrows, n = next level, r = restart level
Change the path (including level folder, 7 are available) in line 12 of LoadLevel.m file to yours.
Lauch the game with LoadLevel(level number).
Enjoy!
Code can be easily modified (time counter, move-back option, etc...)
Cite As
Michal Krupka (2026). Sokoban by Czar3k (https://nl.mathworks.com/matlabcentral/fileexchange/56050-sokoban-by-czar3k), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
