Sokoban Level 1a

From NetHackWiki
Revision as of 15:43, 28 August 2006 by BlackShift (talk | contribs) (Solution)
Jump to navigation Jump to search

Sokoban Level 1a is not very hard. The level has 12 boulders and 10 holes, so 2 boulders are spare. In the level (as well as in level 1b) are two scrolls of earth.

0 boulder
^ pit
@ starting position/downstairs
< upstairs
? scroll of earth
-------- ------
|<|@...---....|
|^|-.00....0..|
|^||..00|.0.0.|
|^||....|.....|
|^|------0----|
|^|    |......|
|^------......|
|..^^^^0000...|
|??-----......|
----   --------

Strategy

The following solution solves the level without putting any blocks in an immobile position. Faster solutions which do not leave every boulder free exist.

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.

-------- ------
|<|@...---....|
|^|-.AB....C..|
|^||..DE|.F.G.|
|^||....|.....|
|^|------H----|
|^|    |......|
|^------......|
|..^^^^IJKL...|
|..-----......|
----   --------

Make your way into the lower right room:

Ad
Brrrr
Hdd
-------- ------
|<|>...---....|
|^|-......BC..|
|^||.ADE|.F.G.|
|^||....|.....|
|^|------.----|
|^|    |.@....|
|^------.H....|
|..^^^^IJKL...|
|??-----......|
----   --------

Clear the lower right room

Ju
Il*
Lu
Kllll*
Ldllllll*
Hdllllll*
Jdlllllllu*

Pickup the two scrolls of earth. Remember to '#name' them and do not read them in sokoban except when you misplaced some other boulders. First check whether they are blessed or cursed.

-------- ------
|<|>...---....|
|^|-......BC..|
|^||.ADE|.F.G.|
|^||....|.....|
|^|------.----|
|^|    |......|
|.------......|
|.............|
|.@-----......|
----   --------

Clean the upper left room. There are several ways to do this, here is one.

Fr
Bddlddddlllllllluu*
Gdlllddddlllllllluuu*
Flldddddlllllllluuuu*
Cddllddddlllllllluuuuu*
-------- ------
|<|>...---....|
|^|-..........|
|.||.ADE|.....|
|@||....|.....|
|.|------.----|
|.|    |......|
|.------......|
|.............|
|..-----......|
----   --------

Take one of the remaining boulders and finish the level.

Eurrrddlddddrrrrrrrruuuuuu*
-------- ------
|<|>...---....|
|.|-..........|
|@||.AD.|.....|
|.||....|.....|
|.|------.----|
|.|    |......|
|.------......|
|.............|
|..-----......|
----   --------

The remaining two boulders are free to move and should be checked for wands, rings or food