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...)
Zitieren als
Michal Krupka (2025). Sokoban by Czar3k (https://de.mathworks.com/matlabcentral/fileexchange/56050-sokoban-by-czar3k), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.1.0.0 | no major change
|
||
| 1.0.0.0 |
