Difference between revisions of "Sokoban Level 1j"

From NetHackWiki
Jump to navigation Jump to search
m (Update for newly added Sokoban levels)
Line 1: Line 1:
<!-- Please do not copy this article to Wikia. -->This is one of the new possible maps for [[Sokoban]] Level 1 in [[UnNetHack]]. It has 12 [[boulder]]s and [[pit]]s, leaving no spare boulders. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically. It appears as an alternate map for Level 2 of Sokoban in [[SLASH'EM]]; the pits are replaced with holes, but the scrolls of earth are still present (meaning you can get four out of Sokoban, instead of two).
+
<!-- Please do not copy this article to Wikia. -->This is the Level 2d map for [[Sokoban]] in [[SLASH'EM]] and [[SlashTHEM]], and the '''Level 1j''' map for Sokoban in [[UnNetHack]]. It has 12 [[boulder]]s and [[pit]]s, leaving no spare boulders; as a second level map, the pits are replaced with [[holes]].
 +
 
 +
In UnNetHack, like all Sokoban levels this level may be flipped horizontally or vertically. In SLASH'EM, the scrolls of earth are still present, meaning you can get up to four out of Sokoban.
  
 
             --------- 0 boulder
 
             --------- 0 boulder
Line 16: Line 18:
  
 
== Strategy ==
 
== 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'.
 
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'.
  

Revision as of 08:45, 21 October 2021

This is the Level 2d map for Sokoban in SLASH'EM and SlashTHEM, and the Level 1j map for Sokoban in UnNetHack. It has 12 boulders and pits, leaving no spare boulders; as a second level map, the pits are replaced with holes.

In UnNetHack, like all Sokoban levels this level may be flipped horizontally or vertically. In SLASH'EM, the scrolls of earth are still present, meaning you can get up to four out of Sokoban.

            --------- 0 boulder
------------|.....+.| ^ pit
|...........|.....|^| > starting position/downstairs
|.---.00....|.....|^| < upstairs
|...|.0..0..|.....|^| ? scroll of earth
|..0|---0---|..<..|^|
|.0.--......|.....|^|
|..00.0.....-------^|
---.--.00|..^^^^^^..|
  |.--...|--------??|
  |......|       ----
  --->----
    ---

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 pit (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 pit.

Push the first two boulders into pits:

            --------- L u
------------|.....+.| K r
|...........|.....|^| L rrrd r*
|.---.AB....|.....|^| K urrr drr*
|...|.C..D..|.....|^|
|..E|---F---|..<..|^|
|.G.--......|.....|^|
|..HI.J.....-------^|
---.--.KL|..^^^^^^..|
  |.--...|--------??|
  |......|       ----
  ---@----
    ---

Break into the upper chamber and use the boulders there to fill in the first corridor of pits:

            --------- F uu
------------|.....+.| D r
|...........|.....|^| F dddd rrrd rrr*
|.---.AB....|.....|^| D lldd drrr drrr r*
|...|.C..D..|.....|^| C rrdd drrr drrr rr*
|..E|---F---|..<..|^| A drrd ddrr rdrr rrrr*
|.G.--......|.....|^|
|..HI.J.....-------^|
---.--...|..@.^^^^..|
  |.--...|--------??|
  |......|       ----
  --->----
    ---

Pick up the scrolls of earth and push the last boulder in the upper chamber into a pit:

            --------- B rddd drrr drrr rrrr ru*
------------|.....+.|
|...........|.....|^|
|.---..B....|.....|^|
|...|.......|.....|^|
|..E|---.---|..<..|^|
|.G.--......|.....|^|
|..HI.J.....-------^|
---.--...|......@...|
  |.--...|--------??|
  |......|       ----
  --->----
    ---

The next boulders need to be pushed in a certain way to prevent them from sticking the others:

            --------- J d
------------|.....+.| G d
|...........|.....|^| H d
|.---.......|.....|^|
|...|.......|.....|^|
|..E|---.---|..<..|^|
|.G.--......|.....|^|
|..HI.J.....-------.|
---.--...|.........@|
  |.--...|--------..|
  |......|       ----
  --->----
    ---

The last five boulders can now be pushed into pits:

            --------- I rrrr rrrd rrrr rrrr uu*
------------|.....+.| G rrrr rrrr rdrr rrrr rruu u*
|...........|.....|^| E ddrr rrrr rrdr rrrr rrru uuu*
|.---.......|.....|^| H uudr rrrr rrrd rrrr rrrr uuuu u*
|...|.......|.....|^| J urrr rrdr rrrr rrru uuuu u*
|..E|---.---|..<..|^|
|...--......|.....|^|
|.G@I.......-------.|
---H--J..|..........|
  |.--...|--------..|
  |......|       ----
  --->----
    ---

The level is now finished:

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

Next level

UnNetHack's Sokoban branch has only three levels per game, collapsing the 'second' levels into the first floor, so the first level leads straight to the pool of third levels: