Sokoban by Czar3k

Matlab implementation of classic Sokoban game including large set of levels
101 Downloads
Updated 18 Mar 2016

View License

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 (2024). Sokoban by Czar3k (https://www.mathworks.com/matlabcentral/fileexchange/56050-sokoban-by-czar3k), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Board games in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

no major change
no major change

1.0.0.0