Skip to content

czajkovsky/sokoban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sokoban

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 folk
  • z/xmoving camera y-axis
  • c/vmoving camera x-axis
  • +/-zooming in/out
  • r restart current level
  • n start next level
  • ESC 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 borders
  • 5 for folk
  • 4 for done boxes
  • 3 for normal boxes
  • 2 for empty spots
  • 1 for normal floor
  • 0 for free space

About

Sokoban 3D in OpenGL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published