home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 August / GSSH0804.iso / Geschicklichkeit / Enigma / Enigma-081.exe / data / levels / xsok_intro.lua < prev    next >
Encoding:
Text File  |  2003-05-17  |  848 b   |  32 lines

  1. -- A sokoban clone for Enigma
  2. -- Name:     Sokoban 1
  3. -- Filename: xsok_01.lua
  4. --
  5. -- (C) 2003 Ralf Westram (amgine@reallysoft.de)
  6. -- GPL 2.0 or above
  7.  
  8.  
  9. dofile(enigma.FindDataFile("levels/ralf_sokoban.lua"))
  10.  
  11. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  12.  
  13. level={
  14.   "#####!!!!",
  15.   "#   ####!",
  16.   "#    o ##",
  17.   "## oo#  #",
  18.   "!##   @.#",
  19.   "!!####..#",
  20.   "!!!!!####",
  21. }
  22.  
  23. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  24.  
  25. play_sokoban(level,0)
  26.  
  27. document(xlo+1,ylo+1,
  28.          "Welcome to the world of Sokoban.          "..
  29.          "The following levels were converted from various sokoban level packages with the friendly permission of their authors.          "..
  30.          "All have been play-tested, so - whether you believe or not - they are always solvable."
  31.       )
  32.