规则Rules
目标Goal
帮汉塞尔(蓝色帽子)和/或格蕾特(金色头发)从女巫的花园里逃出去:把他们滑出棋盘底边 b 列下方的出口。题目里有两个人时,两个人都要逃出去,先后顺序不限。 Help Hansel (blue cap) and/or Gretel (golden hair) escape from the witch’s garden by sliding them out through the opening in the bottom edge, under file b. When a challenge has both characters, both must escape, in either order.
棋子Pieces
| 棋子Piece | 怎么动How it moves |
|---|---|
| 汉塞尔、格蕾特(1 格)Hansel, Gretel (1 square) | 上下左右滑动,想走几格走几格;只有他们能从出口出去。Slide up/down/left/right as far as you like. Only they can leave through the exit. |
| 两块长方形树篱(2 格)Two rectangular hedges (2 squares) | 同样可以上下左右滑动任意格,但不能出棋盘。Also slide freely in all four directions, but never leave the board. |
| 棒棒糖(1 格)Lollipops (1 square) | 只能走 1 格:它会掉进棋盘上的洞里,从此锁住不动。开局就压在洞上的棒棒糖一开始就是锁住的,相当于固定障碍。Can move only 1 step: it drops into a hole in the board and is locked from then on. A lollipop that starts on a hole is already locked — a fixed obstacle. |
| 糖果屋(2 格)Candy House (2 squares) | 固定不动。Fixed; never moves. |
棋盘上的洞在 a4、c4、b3、d3、a2、c2、b1、d1(像国际象棋的浅色格),所以不在洞上的棒棒糖往任何方向走一格都会落进洞里。 The holes are at a4, c4, b3, d3, a2, c2, b1, d1 (like a chessboard’s light squares), so a lollipop that isn’t on a hole lands in one after any single step.
怎么计步Counting
每个棋子每走一格算 1 步,从 b1 滑出出口也算 1 步。一次"移动"是同一个棋子连续走的若干步,中间可以拐弯。每关标出的"最少 N 步"与原版挑战册一致,都经过求解器验证。 Every square a piece travels counts as 1 step, and sliding out of the exit from b1 is 1 more step. A “move” is any run of steps by the same piece, and it may turn corners. The “par N” shown for each challenge matches the original booklet and is verified by an exact solver.
记谱法Notation
仿照国际象棋:列从左到右是 a–d,行从下到上是 1–4,出口在 b1 下方。 Chess-style: files a–d from left to right, ranks 1–4 from bottom to top. The exit is below b1.
棋子字母Piece letters
H | 汉塞尔Hansel | G | 格蕾特Gretel |
A B | 两块树篱the two hedges | C | 糖果屋Candy House |
L | 棒棒糖(在洞上即为锁住,不需要另外标记)lollipop (locked whenever it sits on a hole, so no extra mark is needed) | ||
局面记号Position string
像国际象棋的 FEN:从第 4 行写到第 1 行,行与行之间用 / 分隔,每行从 a 写到 d,数字表示连续几个空格。
Like chess FEN: ranks 4 down to 1, separated by /, each rank written from a to d, with digits for runs of empty squares.
例:经典第 1 关的开局是Example — the start of Classic #1: 2AH/1BA1/1BCC/4
| a | b | c | d | |
|---|---|---|---|---|
| 4 | · | · | A | H |
| 3 | · | B | A | · |
| 2 | · | B | C | C |
| 1 | · | · | · | · |
游戏页面会实时显示当前局面记号,可以复制,或者在"自由摆盘"里打开、分享任意中间局面。 Every game page shows the live position string: copy it, or open and share any middle position in the Sandbox.
着法记号Move notation
棋子字母 + 路线箭头 ↑ ↓ ← →,箭头后面的数字表示同方向连走几格,末尾的 # 表示这个人物从出口逃出去了。棒棒糖要写上它所在的格子,比如 Lb2→。输入时也可以用 u d l r 代替箭头。
Piece letter + path arrows ↑ ↓ ← →; a number after an arrow repeats it, and a trailing # means the character escaped. A lollipop is named by its square, e.g. Lb2→. When typing, u d l r work in place of arrows.
B↓← | 树篱 B 先下 1 格再左 1 格(2 步)hedge B goes down 1 then left 1 (2 steps) |
A←2 | 树篱 A 向左 2 格(2 步)hedge A goes left 2 (2 steps) |
H↓←2↓3# | 汉塞尔下 1、左 2、再下 3 格,最后一格穿过出口(6 步)Hansel goes down 1, left 2, down 3 — the last step through the exit (6 steps) |
于是经典第 1 关的一个最优解(10 步)写作:So an optimal solution to Classic #1 (10 steps) reads: 1. B↓← 2. A←2 3. H↓←2↓3#