Difference between revisions of "Sokoban Level 3a"

From NetHackWiki
Jump to navigation Jump to search
(Next level: Removed empty lines)
(Strategy: instructional ttyrec)
Line 20: Line 20:
  
 
== Strategy ==
 
== Strategy ==
The following solution solves the level without putting any blocks in an immobile position. Faster solutions which do not necessarily leave every boulder free might exist.
+
The following solution solves the level without putting any blocks in an immobile position. Faster solutions which do not necessarily leave every boulder free might exist. You can [http://alt.org/nethack/trd/?file=http://alt.org/nethack/userdata/t/tjraux02/ttyrec/2011-06-07.03:01:14.ttyrec watch a video of this solution].
  
 
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 '''Nddrr*''' means move boulder '''N''' two times down and two times to the right into a pit.
 
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 '''Nddrr*''' means move boulder '''N''' two times down and two times to the right into a pit.

Revision as of 03:10, 7 June 2011

This version of the third level of sokoban has 16 boulders and 11 pits.

0 boulder
^ pit
@ starting position/downstairs
< upstairs
-------- 
---.|....| 
|...0....|---------- 
|.-.00-00|.|.......| 
|.00-......|.......| 
|.-..0.|...|.......| 
|....-0--0-|...<...| 
|..00..0...|.......| 
|.--...|...|.......| 
|....-0|---|.......| 
---..0.-----------+| 
  |..0@^^^^^^^^^^^.| 
  ------------------

Strategy

The following solution solves the level without putting any blocks in an immobile position. Faster solutions which do not necessarily leave every boulder free might exist. You can watch a video of this solution.

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 Nddrr* means move boulder N two times down and two times to the right into a pit.

First clear up the lower part of the room. The opening move is the only one possible. Make sure you move the O boulder out of the way when finishing the L boulder:

--------
---.|....|
|...A....|---------- O ll
|.-.BC-DE|.|.......| P rr*
|.FG-......|.......| N ddrr*
|.-..H.|...|.......| L ddd
|....-I--J-|...<...| O u
|..KL..M...|.......| L rrdr rr*
|.--...|...|.......| O rddr rrrr r*
|....-N|---|.......| K rddd drrr rrrr*
---..O.-----------+|
  |..P@^^^^^^^^^^^.|
  ------------------

Clear the upper left corner, boulders G and F. Now enter the small room in the middle and finish boulder M. Then enter the room just above J and finish I and H:

--------
---.|....|
|...A....|---------- G dddr dddd rrrr rrrr*
|.-.BC-DE|.|.......| F rddd rddd drrr rrrr rr*
|.FG-......|.......| M rrll llld dddr rrrr rrrr r*
|.-..H.|...|.......| J uu
|....-I--J-|...<...| I dddd drrr rrrr rr*
|......M...|.......| H rddd dddr rrrr rrrr r*
|.--...|...|.......| 
|....-.|---|.......| 
---....-----------+|
  |...@.....^^^^^^.|
  ------------------

Enter the top room through A and push C out:

-------- 
---.|....| 
|...A....|---------- A rr 
|.-.BC-DE|.|.......| C ddrd dddd drrr rrrr rrrr* 
|...-....J.|.......|  
|.-....|...|.......|  
|....-.--.-|...<...|  
|..........|.......|  
|.--...|...|.......| 
|....-.|---|.......| 
---....-----------+| 
  |...@..........^.| 
  ------------------

The level is now finished. All boulders can still be moved around freely and should be checked for wands or rings.

--------
---.|....|
|.....A..|----------
|.-.B.-DE|.|.......|
|...-....J.|.......|
|.-....|...|.......|
|....-.--.-|...<...|
|..........|.......|
|.--...|...|.......|
|....-.|---|.......|
---....-----------+|
  |...@............|
  ------------------

Next level

After this level, you will face either of the following levels:

Sokoban Level 4a (with a bag of holding)
--------------------------
|@......^^^^^^^^^^^^^^^^.|
|.......----------------.|
-------.------         |.|
 |...........|         |.|
 |.0.0.0.0.0.|         |.|
--------.----|         |.|
|...0.0..0.0.|         |.|
|...0........|         |.|
-----.--------   ------|.|
 |..0.0.0...|  --|.....|.|
 |.....0....|  |.+.....|.|
 |.0.0...0.--  |-|.....|.|
-------.----   |.+.....+.|
|..0.....|     |-|.....|--
|........|     |.+.....|
|...------     --|.....|
-----            -------
Sokoban Level 4b (with an amulet of reflection)
  ------------------------
  |..^^^^^^^^^^^^^^^^^^..|
  |..-------------------.|
----.|    -----        |.|
|..|0--  --...|        |.|
|.....|--|.0..|        |.|
|.00..|..|..0.|        |.|
--..00|...00.--        |.|
 |0..0...|0..|   ------|.|
 |.00.|..|..0| --|.....|.|
 |.0.0---|.0.| |.+.....|.|
 |.......|..-- |-|.....|.|
 ----.0..|.--  |.+.....+.|
    ---.--.|   |-|.....|--
     |.0...|   |.+.....|
     |@.|..|   --|.....|
     -------     -------