Sokoban Level 3d

From NetHackWiki
Revision as of 04:02, 27 January 2013 by Tungtn (talk | contribs) (Update for newly added Sokoban levels)
Jump to navigation Jump to search

This is one of the new possible maps for the middle level of Sokoban in UnNetHack. It has 12 boulders and holes, leaving no spare boulders. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically.

         ---------- 0 boulder
    -----|.^^^^^..| ^ hole
 ----...-|<-----..| > starting position/downstairs
 |..0....---...|^-- < upstairs
 |.0>0.0....0..|^|
 |.|0--------.-|^|
 |.|..0..|.....|^|
 |.|.0.0.|.|...|^|
--.|..0|.|.----|^|
|..--....|.....|^|
|....0.|.|.......|
-----.--.........|
   |.0...........|
   |...---.......|
   ----- ---------

Strategy

The following solution may not be very fast or organized. Improvements welcome. Like all Sokoban levels it can be solved without making any boulders 'stick'.

All boulders are replaced by letters so they can be referred to. Moving the boulders is shortened to r for right, l for left, u for up, d for down. An asterisk is used to denote the last move filled a hole (and thus removed the boulder from the game). So "N ddrr*" means move boulder N two times down and two times to the right into a hole.

First, you'll want to prepare the boulders as you go through the middle, around the top and out into the large open area:

         ---------- F dd
    -----|.^^^^^..| G r
 ----...-|<-----..| J dr
 |..A....---...|^-- K d
 |.B@C.D....E..|^|  A rr
 |.|F--------.-|^|  E rl
 |.|..G..|.....|^|
 |.|.H.I.|.|...|^|
--.|..J|.|.----|^|
|..--....|.....|^|
|....K.|.|.......|
-----.--.........|
   |.L...........|
   |...---.......|
   ----- ---------

The first boulders can now be funneled out through the bottom:

         ---------- L ____ ____ rrrr rrrr rrru uu*
    -----|.^^^^^..| J ll
 ----...-|<-----..| K d___ ____ rrrr rrrr rrru uuu*
 |....A..---...|^-- J ddd_ ____ rrrr rrrr rrru uuuu*
 |.B>C.D....E@.|^|  H dddd d___ rrrr rrrr rrru uuuu u*
 |.|.--------.-|^|  I lldd ddd_ rrrr rrrr rrru uuuu uu*
 |.|...G.|.....|^|
 |.|FH.I.|.|...|^|
--.|...|.|.----|^|
|..--..J.|.....|^|
|......|.|.......|
-----K--.........|
   |.L...........|
   |...---.......|
   ----- ---------

The remaining boulders travel along the outside of the level in a U-shape:

         ---------- B l___ ____ ___ dddd ddrr rddr rrrr rrrr rruu uuuu uu*
    -----|.^^^^^..| A l
 ----...-|<-----..| C lll_ ____ ___ dddd ddrr rddr rrrr rrrr rruu uuuu uuu*
 |....A..---...|^-- A dlll ____ ___ dddd ddrr rddr rrrr rrrr rruu uuuu uuuu ul*
 |.B>C.D....E..|^|  D llll l___ ___ dddd ddrr rddr rrrr rrrr rruu uuuu uuuu ull*
 |.|.--------.-|.|  E llll llll ll_ dddd ddrr rddr rrrr rrrr rruu uuuu uuuu ulll*
 |.|...G.|.....|@|  F uuul l___ ___ dddd ddrr rddr rrrr rrrr rruu uuuu uuuu ulll l*
 |.|F....|.|...|.|  G lllu ull_ ___ dddd ddrr rddr rrrr rrrr rruu uuuu uuuu ulll ll*
--.|...|.|.----|.|
|..--....|.....|.|
|......|.|.......|
-----.--.........|
   |.............|
   |...---.......|
   ----- ---------

The level is now complete:

         ----------
    -----|..@.....|
 ----...-|<-----..|
 |.......---...|.--
 |..>..........|.|
 |.|.--------.-|.|
 |.|.....|.....|.|
 |.|.....|.|...|.|
--.|...|.|.----|.|
|..--....|.....|.|
|......|.|.......|
-----.--.........|
   |.............|
   |...---.......|
   ----- ---------

Next level

The stairs up leads to the final level of Sokoban: