r1386 vs r1387
1
1
{{{#!style
2
.cell {width:30px;height:30px;background:#000;display:inline-block}
3
.mine-num {vertical-align:middle;display:inline-block}
4
}}}
25
{{{#!if mine = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
36
}}}
47
5
|| {{{#!if index = 0, cell = 0
8
||<nopad> {{{#!wiki class="cell"
9
{{{#!if index = 22, cell = 0
610
}}}{{{#!if mine[index - 10] == 1
711
{{{#!if cell = cell + 1
812
}}}}}}{{{#!if mine[index - 9] == 1
......
2024
}}}}}}{{{#!if mine[index + 10] == 1
2125
{{{#!if cell = cell + 1
2226
}}}}}}{{{#!if !(cell == 0)
23
@cell@}}} || {{{#!if index = 1, cell = 0
24
}}}{{{#!if mine[index - 10] == 1
25
{{{#!if cell = cell + 1
26
}}}}}}{{{#!if mine[index - 9] == 1
27
{{{#!if cell = cell + 1
28
}}}}}}{{{#!if mine[index - 8] == 1
29
{{{#!if cell = cell + 1
30
}}}}}}{{{#!if mine[index - 1] == 1
31
{{{#!if cell = cell + 1
32
}}}}}}{{{#!if mine[index + 1] == 1
33
{{{#!if cell = cell + 1
34
}}}}}}{{{#!if mine[index + 8] == 1
35
{{{#!if cell = cell + 1
36
}}}}}}{{{#!if mine[index + 9] == 1
37
{{{#!if cell = cell + 1
38
}}}}}}{{{#!if mine[index + 10] == 1
39
{{{#!if cell = cell + 1
40
}}}}}}{{{#!if !(cell == 0)
41
@cell@}}} ||
27
{{{#!wiki class="mine-num"
28
@cell@}}}}}}}}} ||
4229
4330
4431
45
|| ||
4632
4733
4834
35
4936
{{{#!style
5037
.box-1 {width:50px;height:50px;background:red}
5138
.box-2 {width:50px;height:50px;background:blue}
......