Sokoban Level 3j

From NetHackWiki
Jump to: navigation, search

This is one of the new possible maps for the middle level of Sokoban in UnNetHack and for Level 2 in GruntHack. It has 10 boulders and 9 holes, leaving 1 spare boulder. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically.

 ---------       0 boulder
 |...|...|       ^ hole
--....00.|       > starting position/downstairs
|.0--0...|------ < upstairs
|..|-.00.|.....| + door
|..|..|..|.....|
|.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 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.

Pushing the first boulder up makes filling the first six holes simple:

 ---------       D u
 |...|...|       H dlll d*
--....AB.|       F dddl lldd*
|.C--D...|------ E rddd llld dd*
|..|-.EF.|.....| J uull lddd ddr*
|..|..|..|.....| B dddd dlll dddd drr*
|.G|@--H.|.....| A ddrd ddll lddd ddrr r*
|..I.....|..<..| 
----^--..|.....|
   |^||J.|.....|
  --^||..|.....|
  |..------+----
  |..^^^^^^.|
  -----------

There's a lot of freedom with how to deal with the final boulders:

 ---------       D llrr rrdd dddl lldd dddr rrr*
 |...|...|       C d
--...D...|       I rddd ddrr rrr*
|.C--....|------ G drrd dddd rrrr rr*
|..|-....|.....|
|..|..|..|.....|
|.G|>--..|.....|
|..I.....|..<..| 
----.--..|.....|
   |.||..|.....|
  --.||..|.....|
  |..------+----
  |...@.^^^.|
  -----------

The level is now complete. You may want to check under the final boulder if you haven't already.

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

Next level

In UnNetHack, the stairs up leads to the final level of Sokoban:

In GruntHack, the stairs up leads to the third level of Sokoban: