Sokoban Level 3g

From NetHackWiki
Jump to: navigation, search

This is one of the new possible maps for the middle level of Sokoban in UnNetHack. It has 9 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
|..00.|.....0.|..|     < upstairs
|.|...|...--0.^..|     # iron bars
|.|...|.00.|..--^|
|.|.----.|.--#--^|---
|.|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, rearrange the boulders to make some room to push around the two boulders in the entrance chamber:

           ----        D llll
  ---------|@.|        F dddd
---...|...--A.|---     I lll
|..BC.|.....D.|..|     H uuu
|.|...|...--E.^..|     I u
|.|...|.FG.|..--^|     F llll l
|.|.----.|.--#--^|---  G lddd dl
|.|H.|--.|..|<|..|..|  D dddd dd
|.|..|....|.|.|..^..|
|.....I...|.|.--#--^--
|.|..---.--.|..|..|..|
|.----......#..#..^..|
|......-----|..|^-----
--------    |^--..|
            |..^..|
            |..----
            ----

Deal with the two boulders in the entrance chamber:

           ----        A dlll ld
  ---------|>.|        E ulll lrrr rrdr*
---...|...--A.|---     A urrr rrdr rrd*
|..BC.|.......|..|
|.|H..|...--E.^..|
|.|...|....|..--^|
|.|.----.|.--#--^|---
|.|..|--.|..|<|..|..|
|.|I.|..@.|.|.|..^..|
|..F...GD.|.|.--#--^--
|.|..---.--.|..|..|..|
|.----......#..#..^..|
|......-----|..|^-----
--------    |^--..|
            |..^..|
            |..----
            ----

The middle passage enables the next four boulders to be pushed into the holes:

           ----        D ____ ___ uuuu uurr rrrd rrrd d*
  ---------|>.|        G r___ ___ uuuu uurr rrrd rrrd dddr*
---...|...--..|---     F rrrr r__ uuuu uurr rrrd rrrd dddr rrd*
|..BC.|.......|..|     I drrr rr_ uuuu uurr rrrd rrrd dddr rrdd dl*
|.|H..|...--....@|
|.|...|....|..--.|
|.|.----.|.--#--^|---
|.|..|--.|..|<|..|..|
|.|I.|....|.|.|..^..|
|..F...GD.|.|.--#--^--
|.|..---.--.|..|..|..|
|.----......#..#..^..|
|......-----|..|^-----
--------    |^--..|
            |..^..|
            |..----
            ----

Rearranging the clump of three boulders allows them to fill the final holes:

           ----        C d
  ---------|>.|        B r
---...|...--..|---     H dddd d___ rrrr ruuu uuur rrrr drrr dddd rrrd ddll ld*
|..BC.|.......|..|     B lddd ddd_ rrrr ruuu uuur rrrr drrr dddd rrrd ddll lddd l*
|.|H..|...--.....|     C lddd dd__ rrrr ruuu uuur rrrr drrr dddd rrrd ddll lddd lllu*
|.|...|....|..--.|
|.|.----.|.--#--.|---
|.|..|--.|..|<|..|..|
|.|..|....|.|.|.....|
|.........|.|.--#--.--
|.|..---.--.|..|..|..|
|.----......#..#...@.|
|......-----|..|^-----
--------    |^--..|
            |..^..|
            |..----
            ----

The level is now complete:

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

Next level

The stairs up leads to the final level of Sokoban: