Sokoban Level 4e

From NetHackWiki
Jump to navigation Jump to search

Sokoban Level 4e is one of the new possible maps for the final level of Sokoban in GruntHack, UnNetHack, EvilHack, SlashTHEM, and Hack'EM. In Hack'EM, the level map is named "Dudley's Torment" It has 22 boulders and 18 holes, leaving 4 spare boulders.

The prizes and layout vary with each variant:

  • In GruntHack, the choice of prizes is between an amulet of reflection, a cloak of magic resistance, and a bag of holding, with each prize placed atop a burnt Elbereth engraving. If one of the prize closet doors is opened or kicked down, the others will seal; a means of identifying the closet containing your item of choice, such as a potion of object detection, is recommended.
  • In UnNetHack, the level may be flipped horizontally and/or vertically, like all Sokoban levels. The prize is a choice from one of the following: a bag of holding, a cloak (of magic resistance or displacement) and an amulet (of reflection, life saving or ESP). Each of the prizes are placed on a burnt Elbereth engraving and a cursed scroll of scare monster; if one of the prize closet doors is opened, the others will seal.
  • In EvilHack, the choice is instead between a prize tool (a bag of holding or a magic marker), a prize armor (a helm of speed or a pair of gauntlets of protection), or a prize amulet (an amulet of reflection or magic resistance). Each of the prizes are placed on a burnt Elbereth engraving and a cursed scroll of scare monster; if one of the prize closet doors is opened, the others will seal.
    ----                      0 boulder
    |..--                     ^ hole
 ---|...--------------------- > starting position/downstairs
 |..|.00^^^^^^^^^^^^^^^^^^..| + door
--...-.0-------------------.|
|.0.....0..0......|       |.|
|..|.0..-...----.-| ------|.|
--.|..--...|......|-|.....|.|
 |.|--..--.|..|0..|.+.....|.|
 |.| |....---0|.0.|-|.....|.|
 |.|--..|..|.0..--|.+.....+.|
--.|..-.--.0....--|-|.....|--
|...0.0..0..-..0.||.+.....|
|...|..000-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. Letters O and Q are skipped for clarity. 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, a few boulders need to be rotated near the entrance so that M can be pushed into the position of N:

    ----                      R u
    |..--                     W rd
 ---|...--------------------- R ddll l
 |..|.AB^^^^^^^^^^^^^^^^^^..| X llll l
--...-.C-------------------.| S uuuu d
|.D.....E..F......|       |.| L rrrr dd
|..|.G..-...----.-| ------|.| V uurr rr
--.|..--...|......|-|.....|.| P rr
 |.|--..--.|..|H..|.+.....|.| N rr
 |.| |....---I|.J.|-|.....|.| M llrr rr
 |.|--..|..|.K..--|.+.....+.|
--.|..-.--.L....--|-|.....|--
|...M.N..P..-..R.||.+.....|
|...|..STU-V..W..|--|.....|
----|......X..|..|  -------
    |..|..|..-|@.|
    --------------

It is now possible to make it up to the holes by going along the left. Beware, pushing D the wrong way here can be hard to recover from:

    ----                      D r
    |..--                     A u
 ---|...--------------------- B r*
 |..|.AB^^^^^^^^^^^^^^^^^^..| A drrr*
--...-.C-------------------.| C urrr*
|.D.....E..F......|       |.| G urru urrr r*
|..|.G..-...----.-| ------|.| D rrrr uurr rrr*
--.|..--...|......|-|.....|.|
 |.|--..--.|..|H..|.+.....|.|
 |.| |....---I|.J.|-|.....|.|
 |.|--.S|..|.K..--|.+.....+.|
--.|..-.--.....V--|-|.....|--
|....@M.N..P-....||.+.....|
|...|...TU-.R..L.|--|.....|
----|.X.......|W.|  -------
    |..|..|..-|>.|
    --------------

The boulders at the bottom can now be pushed around the outer edge of the level:

    ----                      M llll ____ ____ ____ ___ uuuu uuur rrrr uurr rrrr*
    |..--                     X uull ll__ ____ ____ ___ uuuu uuur rrrr uurr rrrr r*
 ---|...--------------------- N llll ll__ ____ ____ ___ uuuu uuur rrrr uurr rrrr rr*
 |..|......@.^^^^^^^^^^^^^..| S ddll lll_ ____ ____ ___ uuuu uuur rrrr uurr rrrr rrr*
--...-..-------------------.| U u
|.......E..F......|       |.| T llul lll_ ____ ____ ___ uuuu uuur rrrr uurr rrrr rrrr*
|..|....-...----.-| ------|.| U llll lll_ ____ ____ ___ uuuu uuur rrrr uurr rrrr rrrr r*
--.|..--...|......|-|.....|.| P ddll llll ____ ____ ___ uuuu uuur rrrr uurr rrrr rrrr rr*
 |.|--..--.|..|H..|.+.....|.| R ldll llll uull l___ ___ uuuu uuur rrrr uurr rrrr rrrr rrr*
 |.| |....---I|.J.|-|.....|.| L llll dlll lllu ulll ___ uuuu uuur rrrr uurr rrrr rrrr rrrr*
 |.|--.S|..|.K..--|.+.....+.| W ulll ldll llll uull l__ uuuu uuur rrrr uurr rrrr rrrr rrrr r*
--.|..-.--.....V--|-|.....|-- V ddll lldl llll luul ll_ uuuu uuur rrrr uurr rrrr rrrr rrrr rr*
|.....M.N..P-....||.+.....|
|...|...TU-.R..L.|--|.....|
----|.X.......|W.|  -------
    |..|..|..-|>.|
    --------------

The last two holes can be filled by the two topmost boulders:

    ----                      K r
    |..--                     I uurr r
 ---|...--------------------- H d
 |..|.................@.^^..| I l
--...-..-------------------.| F l
|.......E..F......|       |.| E lluu ___ rrrr rrrr rrrr rrrr rr*
|..|....-...----.-| ------|.| F llll uu_ rrrr rrrr rrrr rrrr rrr*
--.|..--...|......|-|.....|.|
 |.|--..--.|..|H..|.+.....|.|
 |.| |....---I|.J.|-|.....|.|
 |.|--..|..|.K..--|.+.....+.|
--.|..-.--......--|-|.....|--
|...........-....||.+.....|
|...|.....-......|--|.....|
----|.........|..|  -------
    |..|..|..-|>.|
    --------------

The level is now complete. Remember to check under boulder J for any items.

    ----
    |..--
 ---|...---------------------
 |..|...................@...|
--...-..-------------------.|
|.................|       |.|
|..|....-...----.-| ------|.|
--.|..--...|...I..|-|.....|.|
 |.|--..--.|..|...|.+.....|.|
 |.| |....---.|HJ.|-|.....|.|
 |.|--..|..|..K.--|.+.....+.|
--.|..-.--......--|-|.....|--
|...........-....||.+.....|
|...|.....-......|--|.....|
----|.........|..|  -------
    |..|..|..-|>.|
    --------------