Simple Sokoban 3D in OpenGL.
##About Project done for Computer Graphic classes @ PUT under dr Witold Andrzejewski.
##Usage
###Bulding
- building
make
- running
./sokoban
###Keyboard
arrows
moving folkz
/x
moving camera y-axisc
/v
moving camera x-axis+
/-
zooming in/outr
restart current leveln
start next levelESC
to quit
##Adding own levels
To add new level you simply have to add n.level
file into levels
directory (where n
is an integer).
Currently maximum level size is 10x10
.
.level
file should start with level size. Then, it should container size * size
integers which are linked to fields on the board. Possible values are:
9
for borders5
for folk4
for done boxes3
for normal boxes2
for empty spots1
for normal floor0
for free space