| r1411 vs r1412 | ||
|---|---|---|
| ... | ... | |
| 6 | 6 | .mine-red {vertical-align:middle;display:inline-block;background:#f00} |
| 7 | 7 | .mine-hide {display:none} |
| 8 | 8 | }}} |
| 9 | {{{#!if mine = [ | |
| 9 | {{{#!if mine = [0, 1, 1, 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] | |
| 10 | 10 | }}} |
| 11 | 11 | |
| 12 | 12 | ||<nopad> {{{#!if index = 0, cell = 0 |
| 13 | 13 | }}}{{{#!if mine[index] == 0 |
| 14 | 14 | {{{#!if mine[index - 10] == 1 |
| 15 | {{{#!if cell | |
| 15 | {{{#!if ++cell | |
| 16 | 16 | }}}}}}{{{#!if mine[index - 9] == 1 |
| 17 | {{{#!if cell | |
| 17 | {{{#!if ++cell | |
| 18 | 18 | }}}}}}{{{#!if mine[index - 8] == 1 |
| 19 | {{{#!if cell | |
| 19 | {{{#!if ++cell | |
| 20 | 20 | }}}}}}{{{#!if mine[index - 1] == 1 |
| 21 | {{{#!if cell | |
| 21 | {{{#!if ++cell | |
| 22 | 22 | }}}}}}{{{#!if mine[index + 1] == 1 |
| 23 | {{{#!if cell | |
| 23 | {{{#!if ++cell | |
| 24 | 24 | }}}}}}{{{#!if mine[index + 8] == 1 |
| 25 | {{{#!if cell | |
| 25 | {{{#!if ++cell | |
| 26 | 26 | }}}}}}{{{#!if mine[index + 9] == 1 |
| 27 | {{{#!if cell | |
| 27 | {{{#!if ++cell | |
| 28 | 28 | }}}}}}{{{#!if mine[index + 10] == 1 |
| 29 | {{{#!if cell | |
| 29 | {{{#!if ++cell | |
| 30 | 30 | }}}}}}{{{#!wiki class="mineb@index@ mine-safe" onclick="add-class,mineb@index@,mine-num;remove-class,mineh@index@,mine-hide" |
| 31 | 31 | {{{#!wiki class="mineh@index@ mine-hide" |
| 32 | 32 | @cell@}}}}}}}}}{{{#!if mine[index] == 1 |
| ... | ... |