This is a string representation of a solution. Name comes from four letters used to represent four directions: L)eft, R)igth, U)p, D)own.
Lower case letters represent movement (without push). Upper case means man pushes in that direction.
So solution which needs man to move twice left, then three time up, then push twice right will be: lluuuRR
YSokoban will export always solution in correct case (i.e. with lower and upper cases) and will accept solution in any case (case is not important when pasting solution).
YSokoban supports pasting (Shift-Ins or Ctrl-V) of RLE packed solution.Packed solution is like normal LURD format solution but with RLE (run-length-encoding).
RLE has a number followed by letter, number means number of time this letter is repeated.
For example solution described above (lluuuRR
) can be RLE encoded as 2l3u2R
.
Not only solutions but levels could be RLE encoded too. The only special thing about RLE encoded levels is that | (bar symbol) is used as new line: For example you can paste RLE packed level:
2_5#|3#3_#|#2_*#_2#|#_#2_*_#|#_*2_#_#|2#_#+2_#|_#3_$2#|_3#2_#|3_4#
which is equivalent to
2_5# __##### 3#3_# ###___# #2_*#_2# #__*#_## #_#2_*_# --> #_#__*_# #_*2_#_# #_*__#_# 2#_#+2_# ##_#+__# _#3_$2# _#___$## _3#2_# _###__# 3_4# ___####
YSokoban will create a RLE packed level and solution with Ctrl-Shift-L
There is an option (see options dialog) how to encode space - with underscore '_' or with hyphen '-'. Both characters are supported for import (even space is possible).