Difference between revisions of "Sokoban Level 3c"

From NetHackWiki
Jump to navigation Jump to search
(Write original solution for UnNetHack Sokoban 3c)
 
m (Update for newly added Sokoban levels)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!-- Please do not copy this article to Wikia. -->This is one of 5 new possible maps for the middle level of [[Sokoban]] in [[UnNetHack]]. It has 15 [[boulder]]s and [[hole]]s, leaving no spare boulders. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically.
+
<!-- Please do not copy this article to Wikia. -->This is one of the new possible maps for the middle level of [[Sokoban]] in [[UnNetHack]]. It has 15 [[boulder]]s and [[hole]]s, leaving no spare boulders. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically.
  
 
         ------------ 0 boulder
 
         ------------ 0 boulder
Line 20: Line 20:
 
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'.
 
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 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.
+
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.
  
 
Push a boulder sufficiently out the way as you fill the first hole:
 
Push a boulder sufficiently out the way as you fill the first hole:
Line 166: Line 166:
 
* [[Sokoban Level 4c]]
 
* [[Sokoban Level 4c]]
 
* [[Sokoban Level 4d]]
 
* [[Sokoban Level 4d]]
 +
* [[Sokoban Level 4e]]
 +
* [[Sokoban Level 4f]]
  
 
[[Category:Sokoban]]
 
[[Category:Sokoban]]
 +
[[Category:UnNetHack]]

Latest revision as of 04:02, 27 January 2013

This is one of the new possible maps for the middle level of Sokoban in UnNetHack. It has 15 boulders and holes, leaving no spare boulders. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically.

       ------------ 0 boulder
-------|<^^^^^^^..| ^ hole
|...|..|--------..| > starting position/downstairs
|.0....|..|    |^-- < upstairs
--.--0.|>.-----|^|
 |..0.0--0..|..|^|
 |.|..0.|.0....|^|
 |.0.|0....---.|^|
 |.....--.0---.|^|
 ---.0.|..0....|^|
   ---.|..0--..|^|
    |..00..||....|
    |.....-----..|
    -------   ----

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.

Push a boulder sufficiently out the way as you fill the first hole:

       ------------ E ddd
-------|<^^^^^^^..| G rrrr dddd drru*
|...|..|--------..|
|.A....|..|    |^--
--.--B.|@.-----|^|
 |..C.D--E..|..|^|
 |.|..F.|.G....|^|
 |.H.|I....---.|^|
 |.....--.J---.|^|
 ---.K.|..L....|^|
   ---.|..M--..|^|
    |..NO..||....|
    |.....-----..|
    -------   ----

Get behind the boulders:

       ------------ F ll
-------|<^^^^^^^..| B ud
|...|..|--------..| A r
|.A....|..|    |^--
--.--B.|>.-----|^|
 |..C.D--...|..|^|
 |.|..F.|......|^|
 |.H.|I....---.|^|
 |.....--EJ---.|^|
 ---.K.|..L....|^|
   ---.|..M--..|.|
    |..NO..||...@|
    |.....-----..|
    -------   ----

Solve another boulder to open up a loop around the big pillar:

       ------------ L r
-------|<^^^^^^^..| J uurr rrdd dddr ruu*
|...|..|--------..|
|.@A...|..|    |^--
--.--B.|>.-----|^|
 |..C.D--...|..|^|
 |.|F...|......|^|
 |.H.|I....---.|^|
 |.....--EJ---.|^|
 ---.K.|..L....|^|
   ---.|..M--..|.|
    |..NO..||....|
    |.....-----..|
    -------   ----

The next five boulders are all solved more or less the same way:

       ------------ L rrr_ ____ _ ddrr uuu*
-------|<^^^^^^^..| M urrr r___ _ ddrr uuuu*
|...|..|--------..| E drrr rr__ _ ddrr uuuu u*
|..A...|..|    |^-- O u
--.--B.|>.-----|^|  N rruu u
 |..C.D--...|..|^|  O d
 |.|F...|......|^|  N urrr rr__ _ ddrr uuuu uu*
 |.H.|I....---.|^|  O ruur rrrr _ ddrr uuuu uuu*
 |.....--E.---.|^|
 ---.K.|...L...|.|
   ---.|..M--..|@|
    |..NO..||....|
    |.....-----..|
    -------   ----

The next two boulders go through the bottom to be pushed in place:

       ------------ I dddd _ rrru urrr rrdd rruu uuuu uu*
-------|<^^^^^^^..| K rdd_ _ rrru urrr rrdd rruu uuuu uuuu l*
|...|..|--------..|
|..A...|..|    |^--
--.--B.|>.-----|.|
 |..C.D--...|..|@|
 |.|F...|......|.|
 |.H.|I....---.|.|
 |.....--..---.|.|
 ---.K.|.......|.|
   ---.|...--..|.|
    |......||....|
    |.....-----..|
    -------   ----

The next boulder requires another boulder to be pushed to prevent the final boulders from sticking:

       ------------ B u
-------|<^^^^^^.@.| D dddd dd_ rrru urrr rrdd rruu uuuu uuuu ll*
|...|..|--------..|
|..A...|..|    |.--
--.--B.|>.-----|.|
 |..C.D--...|..|.|
 |.|F...|......|.|
 |.H.|.....---.|.|
 |.....--..---.|.|
 ---...|.......|.|
   ---.|...--..|.|
    |......||....|
    |.....-----..|
    -------   ----

The last five boulders can be solved in more or less the same way:

       ------------ C rrdd dddd ____ rrru urrr rrdd rruu uuuu uuuu lll*
-------|<^^^^^.@..| F ddrr ddd_ ____ rrru urrr rrdd rruu uuuu uuuu llll*
|...|..|--------..| H rdrr ddd_ ____ rrru urrr rrdd rruu uuuu uuuu llll l*
|..A.B.|..|    |.-- B dddr dddd d___ rrru urrr rrdd rruu uuuu uuuu llll ll*
--.--..|>.-----|.|  A rrrd dddd ddd_ rrru urrr rrdd rruu uuuu uuuu llll lll*
 |..C..--...|..|.|
 |.|F...|......|.|
 |.H.|.....---.|.|
 |.....--..---.|.|
 ---...|.......|.|
   ---.|...--..|.|
    |......||....|
    |.....-----..|
    -------   ----

The level is now complete:

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

Next level

The stairs up leads to the final level of Sokoban: