Difference between revisions of "Sokoban Level 4e"

From NetHackWiki
Jump to navigation Jump to search
(Added link to vertically flipped page.)
m
Line 1: Line 1:
This is one of the new possible maps for the final level of [[Sokoban]] in [[UnNetHack]] and [[GruntHack]]. It has 22 boulders and 18 holes, leaving 4 spare boulders. In UnNetHack, it may be flipped horizontally or [[Sokoban Level 4e (flipped vertically)|vertically]].
+
This is one of the new possible maps for the final level of [[Sokoban]] in [[UnNetHack]], [[GruntHack]] and [[EvilHack]]. It has 22 boulders and 18 holes, leaving 4 spare boulders.
  
Behind the holes is a treasure zoo, beyond which is a set of closets containing Sokoban prizes, only one of which can be picked up: a [[bag of holding]], a [[cloak]] (of [[cloak of magic resistance|magic resistance]] or [[cloak of displacement|displacement]]) and an [[amulet]] (of [[amulet of reflection|reflection]], [[amulet of life saving|life saving]] or [[amulet of ESP|ESP]]).
+
In UnNetHack, it may be flipped horizontally or [[Sokoban Level 4e (flipped vertically)|vertically]] - the three sets of Sokoban prizes are a [[bag of holding]], a [[cloak]] (of [[cloak of magic resistance|magic resistance]] or [[cloak of displacement|displacement]]) and an [[amulet]] (of [[amulet of reflection|reflection]], [[amulet of life saving|life saving]] or [[amulet of ESP|ESP]]).
  
 
     ----                      0 boulder
 
     ----                      0 boulder

Revision as of 07:11, 12 August 2021

This is one of the new possible maps for the final level of Sokoban in UnNetHack, GruntHack and EvilHack. It has 22 boulders and 18 holes, leaving 4 spare boulders.

In UnNetHack, it may be flipped horizontally or vertically - the three sets of Sokoban prizes are a bag of holding, a cloak (of magic resistance or displacement) and an amulet (of reflection, life saving or ESP).

    ----                      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.--|.+.....+.|
--.|..-.--......--|-|.....|--
|...........-....||.+.....|
|...|.....-......|--|.....|
----|.........|..|  -------
    |..|..|..-|>.|
    --------------