Difference between revisions of "Sokoban Level 3i"

From NetHackWiki
Jump to navigation Jump to search
(Write original solution for UnNetHack Sokoban 3i)
 
m (Strategy: missing a single 'down' move)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Please do not copy this article to Wikia. -->This is one of the new possible maps for the middle level of [[Sokoban]] in [[UnNetHack]] and for Level 3 in [[GruntHack]]. It has 17 [[boulder]]s and 14 [[hole]]s, leaving 3 spare boulders. Like all Sokoban levels in UnNetHack, this level may be flipped horizontally or vertically.
+
<!-- Please do not copy this article to Wikia. -->'''Sokoban Level 3i''' is one of the new maps for [[Sokoban]] in some [[variant]]s of ''[[NetHack]]''. It appears as a possible second floor map for [[Sokoban (UnNetHack)|Sokoban]] in [[UnNetHack]], and may appear as a third level map in [[GruntHack]] and [[EvilHack]]. It has 17 [[boulder]]s and 14 [[hole]]s, leaving 3 spare boulders.
 +
 
 +
In UnNetHack, like all Sokoban levels it may be flipped horizontally or vertically.
  
 
  ---------                0 boulder
 
  ---------                0 boulder
Line 24: Line 26:
 
All boulders are replaced by letters so they can be referred to. Letters '''O''' and '''Q''' are skipped for clarity. 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.
 
All boulders are replaced by letters so they can be referred to. Letters '''O''' and '''Q''' are skipped for clarity. 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.
  
The first thing to do is move the boulders such that boulder '''C''' can be moved downward:
+
The first thing to do is move the boulders so that boulder '''C''' can be moved downward:
  
 
  ---------                '''D''' d
 
  ---------                '''D''' d
Line 48: Line 50:
 
  |.......|                '''H''' uuuu ____ _ rrrr urr*
 
  |.......|                '''H''' uuuu ____ _ rrrr urr*
 
  --...A.--                '''F''' ruuu u___ _ rrrr urrr*
 
  --...A.--                '''F''' ruuu u___ _ rrrr urrr*
   --.B.------------------- '''C''' druu uu__ _ rrrr urrr r*
+
   --.B.------------------- '''C''' ddru uuu_ _ rrrr urrr r*
 
   |-.--..^^^^^^^^^^^^^^.| '''B''' uddd du__ _ rrrr urrr rr*
 
   |-.--..^^^^^^^^^^^^^^.| '''B''' uddd du__ _ rrrr urrr rr*
 
   |.>....--------------+| '''A''' lddd du__ _ rrrr urrr rrr*
 
   |.>....--------------+| '''A''' lddd du__ _ rrrr urrr rrr*
Line 101: Line 103:
  
 
== Next level ==
 
== Next level ==
 
+
===UnNetHack===
The stairs up leads to the final level of Sokoban:
 
 
 
 
* [[Sokoban Level 4a]]
 
* [[Sokoban Level 4a]]
 
* [[Sokoban Level 4b]]
 
* [[Sokoban Level 4b]]
Line 110: Line 110:
 
* [[Sokoban Level 4e]]
 
* [[Sokoban Level 4e]]
 
* [[Sokoban Level 4f]]
 
* [[Sokoban Level 4f]]
 
+
{{variant-343}}
 
[[Category:Sokoban]]
 
[[Category:Sokoban]]
 
[[Category:UnNetHack]]
 
[[Category:UnNetHack]]
 
[[Category:GruntHack]]
 
[[Category:GruntHack]]
 +
[[Category:EvilHack]]
 +
[[Category:Sokoban (UnNetHack)]]
 +
[[Category:Sokoban (GruntHack)]]
 +
[[Category:Sokoban (EvilHack)]]

Latest revision as of 22:06, 20 June 2023

Sokoban Level 3i is one of the new maps for Sokoban in some variants of NetHack. It appears as a possible second floor map for Sokoban in UnNetHack, and may appear as a third level map in GruntHack and EvilHack. It has 17 boulders and 14 holes, leaving 3 spare boulders.

In UnNetHack, like all Sokoban levels it may be flipped horizontally or vertically.

---------                 0 boulder
|.......|                 ^ hole
--...0.--                 > starting position/downstairs
 --.0.------------------- < upstairs
  |-.--..^^^^^^^^^^^^^^.| + door
  |.>....--------------+|
  |0.--..|----    |.....|
  |.00..--...|    |.....|
 --0..---.0..|    |.....|
 |.0..|....0--    |..<..|
 |...0|.0...|     |.....|
 --0...0.00.|     |.....|
  |.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. Letters O and Q are skipped for clarity. 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.

The first thing to do is move the boulders so that boulder C can be moved downward:

---------                 D d
|.......|                 E r
--...A.--                 M r
 --.B.------------------- N uu
  |-.--..^^^^^^^^^^^^^^.| M r
  |.@....--------------+| J drrr
  |C.--..|----    |.....| R d
  |.DE..--...|    |.....| D ddd
 --F..---.G..|    |.....| H r
 |.H..|....I--    |..<..| F d
 |...J|.K...|     |.....| C d
 --L...M.NP.|     |.....|
  |.R.|.S.---     |.....|
  --..|...|       -------
   |..|----
   ----

The boulders in the left half of the level can now be solved:

---------                 E lluu ____ _ rrrr ur*
|.......|                 H uuuu ____ _ rrrr urr*
--...A.--                 F ruuu u___ _ rrrr urrr*
 --.B.------------------- C ddru uuu_ _ rrrr urrr r*
  |-.--..^^^^^^^^^^^^^^.| B uddd du__ _ rrrr urrr rr*
  |.>....--------------+| A lddd du__ _ rrrr urrr rrr*
  |@.--..|----    |.....| D uuuu uu__ _ rrrr urrr rrrr*
  |C..E.--...|    |.....| R uuuu uuuu _ rrrr urrr rrrr r*
 --...---.G..|    |.....| L uuru uuu_ _ rrrr urrr rrrr rr*
 |.FH.|..N.I--    |..<..|
 |....|.K...|     |.....|
 --LD...JMP.|     |.....|
  |...|.S.---     |.....|
  --R.|...|       -------
   |..|----
   ----

The sideways "T" boulder formation provides the final boulders needed fill the remaining holes:

---------                 M u
|.......|                 J llll ___ uuuu uurr rrur rrrr rrrr r*
--.....--                 S ulll l__ uuuu uurr rrur rrrr rrrr rr*
 --...------------------- K dlll l__ uuuu uurr rrur rrrr rrrr rrr*
  |-.--.........@.^^^^^.| N r
  |.>....--------------+| M dd
  |..--..|----    |.....| P llll ll_ uuuu uurr rrur rrrr rrrr rrrr*
  |.....--...|    |.....| M ulll ll_ uuuu uurr rrur rrrr rrrr rrrr r*
 --...---.G..|    |.....|
 |....|..N.I--    |..<..|
 |....|.K...|     |.....|
 --.....JMP.|     |.....|
  |...|.S.---     |.....|
  --..|...|       -------
   |..|----
   ----

The level is now complete. You may want to check under and behind the last few boulders for items:

---------
|.......|
--.....--
 --...-------------------
  |-.--..............@..|
  |.>....--------------+|
  |..--..|----    |.....|
  |.....--...|    |.....|
 --...---.G..|    |.....|
 |....|...NI--    |..<..|
 |....|.....|     |.....|
 --.........|     |.....|
  |...|...---     |.....|
  --..|...|       -------
   |..|----
   ----

Next level

UnNetHack