JSokoban Level-HowTo

This document schould help you to create own levels and levelsets for JSokoban. We divide it in two chapters.

  1. How create a own level
  2. How create a own levelset
  3. How can you play them

1. How create a own level

To create a own JSokoban level you only need an idear and a simple text editor ( like Notepad on windows or emacs under Unix )

At first create a file ( Levelname.lev ).
Then you can start to create your level.

The level is represented by following ascii characters.

  1. # represent a wall
  2. $ represent a box
  3. @ represent the player
  4. . represent a place for a box
  5. * represent a box on a place
  6. + represent a player on a place

Now you must create a closed room and place one player and the same count of boxes and places inside.

Example:
######
#      .#
#  $$+#
#     # #
#       #
######

download the example file here.