User:Tungtn/Sokoban Level 1p

From NetHackWiki
Jump to: navigation, search

This is one of the new possible maps for Sokoban Level 1 in GruntHack. It has 11 boulders and 10 pits, leaving 1 spare boulder.

This map would also feature in UnNetHack were it not for a (possible) bug in the level/dungeon specification. If it was featured, it could appear flipped horizontally or vertically.

-------------  0 boulder
|<|.....|..--  ^ pit
|^|.0.00|...|  > starting position/downstairs
|^|-0....0.--  < upstairs
|^||..0.-...|  ? scroll of earth (GruntHack only)
|^|---.--.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 that 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.

First, push your way into the bottom-right chamber:

-------------  G dddd
|<|.....|..--
|^|.A.BC|...|
|^|-D....E.--
|^||..F.-...|
|^|---.--.G@|
|^|  |H---.--
|^|  |.---.---
|^----.--....|
|..^^^..I..J.|
|??------..K.|
----    |...--
        -----

Fill in the first few pits:

-------------  I lll*
|<|.....|..--  G d
|^|.A.BC|...|  J llll lll*
|^|-D....E.--  K ulll llll l*
|^||..F.-...|
|^|---.--..>|
|^|  |H---.--
|^|  |.---.---
|^----.--.@..|
|..^^^..I.GJ.|
|??------..K.|
----    |...--
        -----

Grab the scrolls of earth and deal with the last boulder in the bottom-right chamber:

-------------  G ulll llll llu*
|<|.....|..--
|^|.A.BC|...|
|^|-D....E.--
|^||..F.-...|
|^|---.--..>|
|^|  |H---.--
|^|  |.---.---
|^----.--....|
|...@........|
|??------.G..|
----    |...--
        -----

Open the way for the top-middle chamber:

-------------  E d
|<|.....|..--
|^|.A.BC|...|
|^|-D....E.--
|^||..F.-...|
|^|---.--..>|
|^|  |H---.--
|^|  |.---.---
|.----.--....|
|@...........|
|..------....|
----    |...--
        -----

The boulders here need to take the long way around:

-------------  B drrr r___ _ dddd ddll llll lllu u*
|<|.....|..--  C drrr ____ _ dddd ddll llll lllu uu*
|^|.A.BC|...|  A rrdr rrr_ _ dddd ddll llll lllu uuu*
|^|-D....@.--  D urrd rrrr _ dddd ddll llll lllu uuuu*
|^||..F.-E..|  E ulll rrrr _ dddd ddll llll lllu uuuu u*
|^|---.--..>|
|^|  |H---.--
|^|  |.---.---
|.----.--....|
|............|
|..------....|
----    |...--
        -----

The final boulder:

-------------  F l
|<|.....|..--  H dddl llll uuuu uuu*
|^|.....|...|
|.|-.......--
|@||..F.-...|
|.|---.--..>|
|.|  |H---.--
|.|  |.---.---
|.----.--....|
|............|
|..------....|
----    |...--
        -----

The level is now complete.

-------------
|<|.....|..--
|.|.....|...|
|@|-.......--
|.||.F..-...|
|.|---.--..>|
|.|  |.---.--
|.|  |.---.---
|.----.--....|
|............|
|..------....|
----    |...--
        -----

Next level

In GruntHack, this would lead to the second level of Sokoban. In UnNetHack, Sokoban has only three levels per game, collapsing the 'second' levels into the first floor, so this would instead lead straight to the pool of third levels.