The graphical version requires SDL 1.2 development headers. In Debian / Ubuntu, install dependencies as shown below.
# apt-get install libsdl1.2-dev
To build the graphical version:
$ make sdl-config $ make
The terminal version requires ncurses development headers. In Debian / Ubuntu, install dependencies as shown below.
# apt-get install libncurses5-dev
To build the terminal version:
make ncurses-config make
The code follows an MVP design pattern. The model is provided by
world.c
. The view is provided by sdl-view.c
and term-view.c
. The
presenter is provided by game-engine.c
and main.c
-
The tiles are from https://github.com/borgar/sokoban-skins
-
The logging library is from https://github.com/rxi/log.cx
-
Level file from, Magic Pearls collection at http://www.sourcecode.se/sokoban/levels