15 퍼즐: 두 판 사이의 차이
백괴게임>Kipa00 잔글 (왼쪽으로도 바로 갈 수 있을까요?) |
백괴게임>Kipa00 잔글 (방향키 구현!) |
||
27번째 줄: | 27번째 줄: | ||
<br /> | <br /> | ||
{| style="width: 70px; height: 70px; border-spacing: 0" | {| style="width: 70px; height: 70px; border-spacing: 0" | ||
| | | align="center" |{{색깔|▢|white}} | ||
| align="center" |{{#ifeq: {{#expr: {{#var: blank}} < 4}} | 1 | |<span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset={{/pack|{{/strswap|{{#var:unpacked}}|16|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} - 12}} | 2}}}}}}}} <span style="color: blue">▲</span>]</span>}} | | align="center" |{{#ifeq: {{#expr: {{#var: blank}} < 4}} | 1 | |<span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset={{/pack|{{/strswap|{{#var:unpacked}}|16|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} - 12}} | 2}}}}}}}} <span style="color: blue">▲</span>]</span>}} | ||
| | | align="center" |{{색깔|▢|white}} | ||
|- | |- | ||
| align="center" |{{#ifeq: {{#expr: {{#var: blank}} mod 4}} | 0 | |<span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset={{/pack|{{/strswap|{{#var:unpacked}}|16|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} - 3}} | 2}}}}}}}} <span style="color: blue">◀</span>]</span>}} | | align="center" |{{#ifeq: {{#expr: {{#var: blank}} mod 4}} | 0 | |<span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset={{/pack|{{/strswap|{{#var:unpacked}}|16|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} - 3}} | 2}}}}}}}} <span style="color: blue">◀</span>]</span>}} | ||
| align="center" |▢ | | align="center" |▢ | ||
| align="center" |▶ | | align="center" |{{#ifeq: {{#expr: {{#var: blank}} mod 4}} | 3 | |<span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset={{/pack|{{/strswap|{{#var:unpacked}}|16|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} + 3}} | 2}}}}}}}} <span style="color: blue">▶</span>]</span>}} | ||
|- | |- | ||
| | | align="center" |{{색깔|▢|white}} | ||
| align="center" | | | align="center" |{{#ifeq: {{#expr: {{#var: blank}} >= 12}} | 1 | |<span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset={{/pack|{{/strswap|{{#var:unpacked}}|16|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} + 12}} | 2}}}}}}}} <span style="color: blue">▼</span>]</span>}} | ||
| | | align="center" |{{색깔|▢|white}} | ||
|}<br />빈 칸을 움직입니다. | |}<br />빈 칸을 움직입니다. |