| r1389 vs r1390 | ||
|---|---|---|
| 1 | 1 | {{{#!style |
| 2 | .cell {width:px;height:px;background:#000;display:inline-block} | |
| 2 | .cell {width:30px;height:30px;background:#000;display:inline-block} | |
| 3 | 3 | .mine-num {vertical-align:middle;display:inline-block} |
| 4 | 4 | }}} |
| 5 | 5 | {{{#!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] |
| ... | ... | |
| 9 | 9 | {{{#!if index = 1, cell = 0 |
| 10 | 10 | }}}{{{#!if mine[index - 10] == 1 |
| 11 | 11 | {{{#!if cell = cell + 1 |
| 12 | ||
| 12 | }}}}}}{{{#!if mine[index - 9] == 1 | |
| 13 | 13 | {{{#!if cell = cell + 1 |
| 14 | ||
| 14 | }}}}}}{{{#!if mine[index - 8] == 1 | |
| 15 | 15 | {{{#!if cell = cell + 1 |
| 16 | ||
| 16 | }}}}}}{{{#!if mine[index - 1] == 1 | |
| 17 | 17 | {{{#!if cell = cell + 1 |
| 18 | ||
| 18 | }}}}}}{{{#!if mine[index + 1] == 1 | |
| 19 | 19 | {{{#!if cell = cell + 1 |
| 20 | ||
| 20 | }}}}}}{{{#!if mine[index + 8] == 1 | |
| 21 | 21 | {{{#!if cell = cell + 1 |
| 22 | ||
| 22 | }}}}}}{{{#!if mine[index + 9] == 1 | |
| 23 | 23 | {{{#!if cell = cell + 1 |
| 24 | ||
| 24 | }}}}}}{{{#!if mine[index + 10] == 1 | |
| 25 | 25 | {{{#!if cell = cell + 1 |
| 26 | ||
| 26 | }}}}}} | |
| 27 | 27 | {{{#!if !(cell == 0) |
| 28 | 28 | {{{#!wiki class="mine-num" |
| 29 | 29 | @cell@}}}}}}}}} || |
| ... | ... |