| r1388 vs r1389 | ||
|---|---|---|
| 1 | 1 | {{{#!style |
| 2 | .cell {width: | |
| 2 | .cell {width:px;height:px;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] |
| 6 | 6 | }}} |
| 7 | 7 | |
| 8 | 8 | ||<nopad> {{{#!wiki class="cell" |
| 9 | {{{#!if index = | |
| 9 | {{{#!if index = 1, cell = 0 | |
| 10 | 10 | }}}{{{#!if mine[index - 10] == 1 |
| 11 | 11 | {{{#!if cell = cell + 1 |
| 12 | 12 | 1}}}}}}{{{#!if mine[index - 9] == 1 |
| ... | ... | |
| 23 | 23 | {{{#!if cell = cell + 1 |
| 24 | 24 | 7}}}}}}{{{#!if mine[index + 10] == 1 |
| 25 | 25 | {{{#!if cell = cell + 1 |
| 26 | 8}}}}}}{{{#!if !(cell == 0) | |
| 26 | 8}}}}}} | |
| 27 | {{{#!if !(cell == 0) | |
| 27 | 28 | {{{#!wiki class="mine-num" |
| 28 | 29 | @cell@}}}}}}}}} || |
| 29 | 30 | |
| ... | ... |