15 퍼즐: 두 판 사이의 차이

리버티게임, 모두가 만들어가는 자유로운 게임
백괴게임>Kipa00
잔글 (섞기 기능 구현)
백괴게임>Kipa00
잔글 (패널을 움직이는 다른 방법을 시도합니다.)
1번째 줄: 1번째 줄:
<div align="center">{{#vardefine:frlink|{{#forumlink: 1|+0}}}}{{#ifeq: {{#len: {{#var:frlink}}}} | 19 ||{{#vardefine:frlink|4881234567812345679}}}}{{#vardefine:unpacked|{{/unpack|{{#sub: {{#var:frlink}} | 0 | -1}}{{#expr: {{#sub: {{#var:frlink}} | -1 | 1}} - 1}}}}}}{{#vardefine:blankpos|{{#pos: {{#var: unpacked}} |16}}}}{{#vardefine:blank|{{#expr: {{#var: blankpos}} / 3}}}}
<div align="center">{{#vardefine: noprint|결국 여기도 넣게 됐네요. 15 퍼즐/unpack 참조.
{{#vardefine:frlink|{{#forumlink: 1|+0}}}}
{{#ifeq: {{#len: {{#var:frlink}}}} | 19 ||{{#vardefine:frlink|4881234567812345679}}}}
{{#vardefine:unpacked|{{/unpack|{{#sub: {{#var:frlink}} | 0 | -1}}{{#expr: {{#sub: {{#var:frlink}} | -1 | 1}} - 1}}}}}}
{{#vardefine:blankpos|{{#pos: {{#var: unpacked}} |16}}}}
{{#vardefine:blank|{{#expr: {{#var: blankpos}} / 3}}}}
{{#vardefine:up|{{#ifeq: {{#expr: {{#var: blank}} < 4}}| 1 |none|{{/pack|{{/strswap|{{#var:unpacked}}|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} - 12}} | 2}}|16}}}}}}}}
{{#vardefine:left|{{#ifeq: {{#expr: {{#var: blank}} mod 4}}| 0 |none|{{/pack|{{/strswap|{{#var:unpacked}}|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} - 3}} | 2}}|16}}}}}}}}
{{#vardefine:right|{{#ifeq: {{#expr: {{#var: blank}} mod 4}}| 3 |none|{{/pack|{{/strswap|{{#var:unpacked}}|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} + 3}} | 2}}|16}}}}}}}}
{{#vardefine:down|{{#ifeq: {{#expr: {{#var: blank}} >= 12}}| 1 |none|{{/pack|{{/strswap|{{#var:unpacked}}|{{#sub: {{#var: unpacked}} | {{#expr: {{#var: blankpos}} + 12}} | 2}}|16}}}}}}}}
}}
{| style="border: 1px solid black; border-spacing: 0"
{| style="border: 1px solid black; border-spacing: 0"
{{/design|{{#sub: {{#var: unpacked}} | 0 | 2}}}}
{{/design|{{#sub: {{#var: unpacked}} | 0 | 2}}}}
22번째 줄: 32번째 줄:
|}
|}
<br />
<br />
{| style="width: 70px; height: 70px; border-spacing: 0"
{{글 숨김|Developer Console|제목색=yellowgreen}}
| align="center" |{{색깔|▢|white}}
up: {{#var:up}} <br />down: {{#var: down}}<br />left: {{#var:left}}<br />right: {{#var: right}}
| align="center" |{{#ifeq: {{#expr: {{#var: blank}} < 4}} | 1 |&nbsp;|<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}}
<span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset=4845231124867736548}} <span style="color:green">섞기(기능 미구현)</span>]</span>
|-
| align="center" |{{#ifeq: {{#expr: {{#var: blank}} mod 4}} | 0 |&nbsp;|<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" |{{#ifeq: {{#expr: {{#var: blank}} mod 4}} | 3 |&nbsp;|<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" |{{#ifeq: {{#expr: {{#var: blank}} >= 12}} | 1 |&nbsp;|<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 /><span class="plainlinks">[{{fullurl:{{urlencode:15 퍼즐}}|offset=4845231124867736548}} <span style="color:green">섞기(기능 미구현)</span>]</span>
</div>
</div>

2013년 10월 4일 (금) 20:48 판

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

 


 Developer Console

섞기(기능 미구현)