Stacked Dozen
Jump to navigation
Jump to search
This is one of the new possible maps for Sokoban Level 2 in Hack'EM. It has 11 boulders and 10 holes, leaving 1 spare boulder. In the starting position, all the boulders are stacked on top of each other.
--------- ------ 0 boulder |.......| ----|....-- ^ hole |.......| --..--.....| > starting position/downstairs |...<...| ---......-.|.| < upstairs |.......| |..........|.| + door |.......| |..0..-......| |+------------.....--...| |.^^^^^^^^^^^...|>......| -------------------------
Setup
Start by moving moving the boulder pile right to create a new boulder.
--------- ------ 0 r |.......| ----|....-- |.......| --..--.....| |...<...| ---......-.|.| |.......| |..........|.| |.......| |..0..-......| |+------------.....--...| |.^^^^^^^^^^^...|>......| -------------------------
The solution expects that each step will create a new boulder by following the step above.
--------- ------ 1 urrrrrrdr |.......| ----|....-- 1 urrrrrruul |.......| --..--.....| 1 urrrrrru |...<...| ---......-.|.| 1 urrrrdrr |.......| |..........|.| 1 urrrrd |.......| |..01.-......| 1 uurrrr |+------------.....--...| |.^^^^^^^^^^^...|>......| -------------------------
--------- ------ a ld |.......| ----|....-- b dd |.......| --..--.0...| 1 uurrrr |...<...| ---.....b-0|.| 1 uurrr |.......| |..........|.| 1 uur |.......| |..01.-.a.00.| 1 r |+------------.....--...| |.^^^^^^^^^^^...|>......| -------------------------
--------- ------ 1 r |.......| ----|....-- 1 d |.......| --..--.0...| . |...<...| ---..0.00-0|.| . |.......| |..........|.| . |.......| |..1..-.0.00.| . |+------------....0--...| |.^^^^^^^^^^^...|>......| -------------------------
Strategy
First move the boulders from the stack to the position below. Then the boulders can be cleared as follows:
--------- ------ B u |.......| ----|....-- A l |.......| --..--.G...| C dll |...<...| ---..D.EF-H|.| A rddlll |.......| |..........|.| B ldddllll |.......| |..AB.-.J.KL.| D dlldddlllll |+------------C...I--...| |.^^^^^^^^^^^...|>......| -------------------------
--------- ------ F u |.......| ----|....-- E llldddldllllll |.......| --..--.G...| I uulllldddlllllll |...<...| ---....EF-H|.| J lulllldddllllllll |.......| |..........|.| F ddllllldddlllllllll |.......| |.....-.J.KL.| G lddllllldddllllllllll |+------------....I--...| |.^^^^^^^.......|>......| -------------------------
--------- ------ H ullddllllldddlllllllllll |.......| ----|....-- K d |.......| --..--.....| L llllulllldddllllllllllll |...<...| ---......-H|.| |.......| |..........|.| |.......| |.....-...KL.| |+------------.....--...| |.^^............|>......| -------------------------