Sokoban Level 3f

From NetHackWiki
Revision as of 04:03, 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 13 boulders and holes, leaving no spare boulders. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically.

        ---------     0 boulder
        |...|...----  ^ hole
        |.0.+......|  > starting position/downstairs
        |...|0|..|.|  < upstairs
  -----------....|0|  # iron bars
  |......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, get to the holes:

        ---------     G uu
        |...|...----  D rrrr r
        |.A.+......|
        |...|B|..|.|
  -----------....|C|
  |......D.........|
  |.|.|.E--.|.|..|^|
  |...|F....|....|^|
 --G|.H.-------+-|^|
--...I..|....|...|^|
|...J|..#....#.K.|^|
|..L...-|....|...|^--
|.M-----|....|----..|
|@.|<^^^+....+^^^^..|
---------------------

Fill the first six holes with the nearest boulders, counting the ones behind the locked doors:

        ---------     C dd*
        |...|...----  D rrrr dd*
        |.A.+......|  K uuuu urrr ddd*
        |...|B|..|.|  A rrrr rddd rrrd ddd*
  -----------....|C|  B ulll rrrr rddd rrrd dddd*
  |..........@D....|  E urrr rrrr rrrd dddd d*
  |G|.|.E--.|.|..|^|
  |...|F....|....|^|
 --.|.H.-------+-|^|
--...I..|....|...|^|
|...J|..#....#.K.|^|
|..L...-|....|...|^--
|.M-----|....|----..|
|>.|<^^^+....+^^^^..|
---------------------

Open up a loop near the middle:

        ---------     F dd
        |...|...----  H l
        |..........|  I l
        |...|.|..|.|  F uuu
  -----------....|.|  I rrr
  |................|
  |G|.|..--.|.|..|.|
  |...|F....|....|.|
 --.|.H.-------.-|.|
--...I..|....|...|.|
|...J|..#....#...|@|
|..L...-|....|...|.--
|.M-----|....|----..|
|>.|<^^^+....+^^^^..|
---------------------

It is now possible to fill the next four holes with boulders:

        ---------     F u___ ____ _ rrrr rrrr rrrd dddd dddl*
        |...|...----  I uuuu ____ _ rrrr rrrr rrrd dddd dddl l*
        |..........|  H drru uuu_ _ rrrr rrrr rrrd dddd dddl ll*
        |...|.|..|.|  J urrr uuuu _ rrrr rrrr rrrd dddd dddl lll*
  -----------....|.|
  |................|
  |G|.|F.--.|.|..|.|
  |...|.....|....|.|
 --.|H..-------.-|.|
--.....I|....|...|.|
|...J|..#....#...|@|
|..L...-|....|...|.--
|.M-----|....|----..|
|>.|<^^^+....+^^^^..|
---------------------

Make sure to open the doors before continuing. After doing so, the final three boulders can be pushed into place:

        ---------     G dddr rrr_ _ uuuu rrrr rrrr rrrd dddd dddl llll llll ll*
        |...|...----  M uurr urrr _ uuuu rrrr rrrr rrrd dddd dddl llll llll lll*
        |..........|  L lurr urrr _ uuuu rrrr rrrr rrrd dddd dddl llll llll llll*
        |...|.|..|.|
  -----------....|.|
  |................|
  |G|.|..--.|.|..|.|
  |...|.....|....|.|
 --.|...-------.-|.|
--......|....|...|.|
|....|..#....#...|.|
|..L...-|....|...|.--
|.M-----|....|----..|
|>.|<^^^.......@....|
---------------------

The level is now complete:

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

Next level

The stairs up leads to the final level of Sokoban: