| r1447 vs r1448 | ||
|---|---|---|
| ... | ... | |
| 11 | 11 | |
| 12 | 12 | .mine-mode {width:30px;height:30px;background:no-repeat linear-gradient(#fff, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);cursor:pointer} |
| 13 | 13 | |
| 14 | .mine-num {width:30px;height:30px; | |
| 14 | .mine-num {width:30px;height:30px;text-align:center;background:#fff;color:#000;font-weight:bold;cursor:default} | |
| 15 | 15 | |
| 16 | 16 | .mine-over {width:30px;height:30px;background:no-repeat linear-gradient(#fff, #fff)50% 50%/75% 75%, conic-gradient(from 45deg, #bbb 90deg, #999 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0);color:#000;font-weight:bold;cursor:pointer} |
| 17 | 17 | |
| 18 | .mine-red {width:30px;height:30px; | |
| 18 | .mine-red {width:30px;height:30px;text-align:center;background:#f00;color:#000;font-weight:bold;cursor:default} | |
| 19 | 19 | |
| 20 | .mine-trans {width:30px;height:30px; | |
| 20 | .mine-trans {width:30px;height:30px;background:transparent;cursor:default} | |
| 21 | 21 | |
| 22 | .mine-enable {width:30px;height:30px; | |
| 22 | .mine-enable {width:30px;height:30px;text-align:center;background:radial-gradient(farthest-corner, #fff 10%, #0e0 50%, #050 90%, #050 0);cursor:default} | |
| 23 | 23 | |
| 24 | 24 | .mine-flag-icon {margin-top: -30px;width:30px;height:30px;background:no-repeat linear-gradient(transparent 85%, #000 0)40% 0%/70% 100%, linear-gradient(90deg, transparent 35%, #000 0, #000 45%, transparent 0), no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)90% 10%/50% 50%;cursor:pointer} |
| 25 | 25 | |
| 26 | .mine-table {display:table} | |
| 27 | ||
| 28 | .mine-align {display:table-cell;vertical-align:middle} | |
| 29 | ||
| 26 | 30 | .mine-hide {display:none} |
| 27 | 31 | |
| 28 | 32 | }}} |
| 29 | {{{#!if index = -1, mine = [ | |
| 33 | {{{#!if index = -1, mine = [0, 1, 0, 1, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] | |
| 30 | 34 | }}} |
| 31 | 35 | |
| 32 | 36 | ||{{{#!wiki |
| 33 | ||<nopad><tablealign=center> {{{#!wiki class="mine-enable" | |
| 37 | {{{#!wiki style="" | |
| 38 | ||<nopad><tablealign=center><tablebordercolor=transparent> {{{#!wiki class="mine-align" | |
| 39 | {{{#!wiki class="mine-enable" | |
| 34 | 40 | {{{#!wiki class="dig mine-mode" onclick="add-class,flag,mine-mode;remove-class,dig,mine-mode;add-class;add-class,mine-flag,mine-hide;remove-class,cell,mine-hide" |
| 35 | 41 | {{{#!wiki class="start mine-enable" |
| 36 | }}}}}}}}} | |
| 42 | }}}}}}}}}}}}{{{#!wiki class="mine-align" | |
| 43 | {{{#!wiki class="mine-enable" | |
| 37 | 44 | {{{#!wiki class="flag mine-mode" onclick="add-class,dig,mine-mode;remove-class,flag,mine-mode;remove-class,start,mine-enable;remove-class,mine-flag,mine-hide;add-class,cell,mine-hide" |
| 38 | 45 | {{{#!wiki style="width:30px;height:30px;background:no-repeat linear-gradient(transparent 85%, #000 0)40% 0%/70% 100%, linear-gradient(90deg, transparent 40%, #000 0, #000 50%, transparent 0), no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)90% 10%/50% 50%;" |
| 39 | }}}}}}}}} ||}}}{{{#!wiki | |
| 40 | ||
| 46 | }}}}}}}}}}}} ||}}}{{{#!wiki class="mine-table" | |
| 47 | {{{#!wiki class="mine-align" | |
| 48 | {{{#!if ++index, cell = 0 | |
| 41 | 49 | }}}{{{#!if mine[index] == 0 |
| 42 | 50 | {{{#!if index % 9 != 0 && index >= 9 |
| 43 | 51 | {{{#!if mine[index - 10] == 1 |
| ... | ... | |
| 74 | 82 | {{{#!wiki class="mine mine-over" |
| 75 | 83 | {{{#!wiki class="mineh mine-hide" |
| 76 | 84 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" |
| 77 | }}} | |
| 85 | }}}}}}{{{#!wiki class="mine-align" | |
| 86 | {{{#!if ++index, cell = 0 | |
| 87 | }}}{{{#!if mine[index] == 0 | |
| 88 | {{{#!if index % 9 != 0 && index >= 9 | |
| 89 | {{{#!if mine[index - 10] == 1 | |
| 90 | {{{#!if ++cell | |
| 91 | }}}}}}}}}{{{#!if index > 9 | |
| 92 | {{{#!if mine[index - 9] == 1 | |
| 93 | {{{#!if ++cell | |
| 94 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 95 | {{{#!if mine[index - 8] == 1 | |
| 96 | {{{#!if ++cell | |
| 97 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 98 | {{{#!if mine[index - 1] == 1 | |
| 99 | {{{#!if ++cell | |
| 100 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 101 | {{{#!if mine[index + 1] == 1 | |
| 102 | {{{#!if ++cell | |
| 103 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 104 | {{{#!if mine[index + 8] == 1 | |
| 105 | {{{#!if ++cell | |
| 106 | }}}}}}}}}{{{#!if index < 72 | |
| 107 | {{{#!if mine[index + 9] == 1 | |
| 108 | {{{#!if ++cell | |
| 109 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 110 | {{{#!if mine[index + 10] == 1 | |
| 111 | {{{#!if ++cell | |
| 112 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 113 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 114 | {{{#!if mine[index] == 0 | |
| 115 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 116 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 117 | {{{#!if cell > 0 | |
| 118 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 119 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 120 | {{{#!wiki class="mine mine-over" | |
| 121 | {{{#!wiki class="mineh mine-hide" | |
| 122 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 123 | }}}}}}{{{#!wiki class="mine-align" | |
| 124 | {{{#!if ++index, cell = 0 | |
| 125 | }}}{{{#!if mine[index] == 0 | |
| 126 | {{{#!if index % 9 != 0 && index >= 9 | |
| 127 | {{{#!if mine[index - 10] == 1 | |
| 128 | {{{#!if ++cell | |
| 129 | }}}}}}}}}{{{#!if index > 9 | |
| 130 | {{{#!if mine[index - 9] == 1 | |
| 131 | {{{#!if ++cell | |
| 132 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 133 | {{{#!if mine[index - 8] == 1 | |
| 134 | {{{#!if ++cell | |
| 135 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 136 | {{{#!if mine[index - 1] == 1 | |
| 137 | {{{#!if ++cell | |
| 138 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 139 | {{{#!if mine[index + 1] == 1 | |
| 140 | {{{#!if ++cell | |
| 141 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 142 | {{{#!if mine[index + 8] == 1 | |
| 143 | {{{#!if ++cell | |
| 144 | }}}}}}}}}{{{#!if index < 72 | |
| 145 | {{{#!if mine[index + 9] == 1 | |
| 146 | {{{#!if ++cell | |
| 147 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 148 | {{{#!if mine[index + 10] == 1 | |
| 149 | {{{#!if ++cell | |
| 150 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 151 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 152 | {{{#!if mine[index] == 0 | |
| 153 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 154 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 155 | {{{#!if cell > 0 | |
| 156 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 157 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 158 | {{{#!wiki class="mine mine-over" | |
| 159 | {{{#!wiki class="mineh mine-hide" | |
| 160 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 161 | }}}}}}{{{#!wiki class="mine-align" | |
| 162 | {{{#!if ++index, cell = 0 | |
| 163 | }}}{{{#!if mine[index] == 0 | |
| 164 | {{{#!if index % 9 != 0 && index >= 9 | |
| 165 | {{{#!if mine[index - 10] == 1 | |
| 166 | {{{#!if ++cell | |
| 167 | }}}}}}}}}{{{#!if index > 9 | |
| 168 | {{{#!if mine[index - 9] == 1 | |
| 169 | {{{#!if ++cell | |
| 170 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 171 | {{{#!if mine[index - 8] == 1 | |
| 172 | {{{#!if ++cell | |
| 173 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 174 | {{{#!if mine[index - 1] == 1 | |
| 175 | {{{#!if ++cell | |
| 176 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 177 | {{{#!if mine[index + 1] == 1 | |
| 178 | {{{#!if ++cell | |
| 179 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 180 | {{{#!if mine[index + 8] == 1 | |
| 181 | {{{#!if ++cell | |
| 182 | }}}}}}}}}{{{#!if index < 72 | |
| 183 | {{{#!if mine[index + 9] == 1 | |
| 184 | {{{#!if ++cell | |
| 185 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 186 | {{{#!if mine[index + 10] == 1 | |
| 187 | {{{#!if ++cell | |
| 188 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 189 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 190 | {{{#!if mine[index] == 0 | |
| 191 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 192 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 193 | {{{#!if cell > 0 | |
| 194 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 195 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 196 | {{{#!wiki class="mine mine-over" | |
| 197 | {{{#!wiki class="mineh mine-hide" | |
| 198 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 199 | }}}}}}{{{#!wiki class="mine-align" | |
| 200 | {{{#!if ++index, cell = 0 | |
| 201 | }}}{{{#!if mine[index] == 0 | |
| 202 | {{{#!if index % 9 != 0 && index >= 9 | |
| 203 | {{{#!if mine[index - 10] == 1 | |
| 204 | {{{#!if ++cell | |
| 205 | }}}}}}}}}{{{#!if index > 9 | |
| 206 | {{{#!if mine[index - 9] == 1 | |
| 207 | {{{#!if ++cell | |
| 208 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 209 | {{{#!if mine[index - 8] == 1 | |
| 210 | {{{#!if ++cell | |
| 211 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 212 | {{{#!if mine[index - 1] == 1 | |
| 213 | {{{#!if ++cell | |
| 214 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 215 | {{{#!if mine[index + 1] == 1 | |
| 216 | {{{#!if ++cell | |
| 217 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 218 | {{{#!if mine[index + 8] == 1 | |
| 219 | {{{#!if ++cell | |
| 220 | }}}}}}}}}{{{#!if index < 72 | |
| 221 | {{{#!if mine[index + 9] == 1 | |
| 222 | {{{#!if ++cell | |
| 223 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 224 | {{{#!if mine[index + 10] == 1 | |
| 225 | {{{#!if ++cell | |
| 226 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 227 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 228 | {{{#!if mine[index] == 0 | |
| 229 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 230 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 231 | {{{#!if cell > 0 | |
| 232 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 233 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 234 | {{{#!wiki class="mine mine-over" | |
| 235 | {{{#!wiki class="mineh mine-hide" | |
| 236 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 237 | }}}}}}{{{#!wiki class="mine-align" | |
| 238 | {{{#!if ++index, cell = 0 | |
| 239 | }}}{{{#!if mine[index] == 0 | |
| 240 | {{{#!if index % 9 != 0 && index >= 9 | |
| 241 | {{{#!if mine[index - 10] == 1 | |
| 242 | {{{#!if ++cell | |
| 243 | }}}}}}}}}{{{#!if index > 9 | |
| 244 | {{{#!if mine[index - 9] == 1 | |
| 245 | {{{#!if ++cell | |
| 246 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 247 | {{{#!if mine[index - 8] == 1 | |
| 248 | {{{#!if ++cell | |
| 249 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 250 | {{{#!if mine[index - 1] == 1 | |
| 251 | {{{#!if ++cell | |
| 252 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 253 | {{{#!if mine[index + 1] == 1 | |
| 254 | {{{#!if ++cell | |
| 255 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 256 | {{{#!if mine[index + 8] == 1 | |
| 257 | {{{#!if ++cell | |
| 258 | }}}}}}}}}{{{#!if index < 72 | |
| 259 | {{{#!if mine[index + 9] == 1 | |
| 260 | {{{#!if ++cell | |
| 261 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 262 | {{{#!if mine[index + 10] == 1 | |
| 263 | {{{#!if ++cell | |
| 264 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 265 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 266 | {{{#!if mine[index] == 0 | |
| 267 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 268 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 269 | {{{#!if cell > 0 | |
| 270 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 271 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 272 | {{{#!wiki class="mine mine-over" | |
| 273 | {{{#!wiki class="mineh mine-hide" | |
| 274 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 275 | }}}}}}{{{#!wiki class="mine-align" | |
| 276 | {{{#!if ++index, cell = 0 | |
| 277 | }}}{{{#!if mine[index] == 0 | |
| 278 | {{{#!if index % 9 != 0 && index >= 9 | |
| 279 | {{{#!if mine[index - 10] == 1 | |
| 280 | {{{#!if ++cell | |
| 281 | }}}}}}}}}{{{#!if index > 9 | |
| 282 | {{{#!if mine[index - 9] == 1 | |
| 283 | {{{#!if ++cell | |
| 284 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 285 | {{{#!if mine[index - 8] == 1 | |
| 286 | {{{#!if ++cell | |
| 287 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 288 | {{{#!if mine[index - 1] == 1 | |
| 289 | {{{#!if ++cell | |
| 290 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 291 | {{{#!if mine[index + 1] == 1 | |
| 292 | {{{#!if ++cell | |
| 293 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 294 | {{{#!if mine[index + 8] == 1 | |
| 295 | {{{#!if ++cell | |
| 296 | }}}}}}}}}{{{#!if index < 72 | |
| 297 | {{{#!if mine[index + 9] == 1 | |
| 298 | {{{#!if ++cell | |
| 299 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 300 | {{{#!if mine[index + 10] == 1 | |
| 301 | {{{#!if ++cell | |
| 302 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 303 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 304 | {{{#!if mine[index] == 0 | |
| 305 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 306 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 307 | {{{#!if cell > 0 | |
| 308 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 309 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 310 | {{{#!wiki class="mine mine-over" | |
| 311 | {{{#!wiki class="mineh mine-hide" | |
| 312 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 313 | }}}}}}{{{#!wiki class="mine-align" | |
| 314 | {{{#!if ++index, cell = 0 | |
| 315 | }}}{{{#!if mine[index] == 0 | |
| 316 | {{{#!if index % 9 != 0 && index >= 9 | |
| 317 | {{{#!if mine[index - 10] == 1 | |
| 318 | {{{#!if ++cell | |
| 319 | }}}}}}}}}{{{#!if index > 9 | |
| 320 | {{{#!if mine[index - 9] == 1 | |
| 321 | {{{#!if ++cell | |
| 322 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 323 | {{{#!if mine[index - 8] == 1 | |
| 324 | {{{#!if ++cell | |
| 325 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 326 | {{{#!if mine[index - 1] == 1 | |
| 327 | {{{#!if ++cell | |
| 328 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 329 | {{{#!if mine[index + 1] == 1 | |
| 330 | {{{#!if ++cell | |
| 331 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 332 | {{{#!if mine[index + 8] == 1 | |
| 333 | {{{#!if ++cell | |
| 334 | }}}}}}}}}{{{#!if index < 72 | |
| 335 | {{{#!if mine[index + 9] == 1 | |
| 336 | {{{#!if ++cell | |
| 337 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 338 | {{{#!if mine[index + 10] == 1 | |
| 339 | {{{#!if ++cell | |
| 340 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 341 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 342 | {{{#!if mine[index] == 0 | |
| 343 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 344 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 345 | {{{#!if cell > 0 | |
| 346 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 347 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 348 | {{{#!wiki class="mine mine-over" | |
| 349 | {{{#!wiki class="mineh mine-hide" | |
| 350 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 351 | }}}}}}{{{#!wiki class="mine-align" | |
| 352 | {{{#!if ++index, cell = 0 | |
| 353 | }}}{{{#!if mine[index] == 0 | |
| 354 | {{{#!if index % 9 != 0 && index >= 9 | |
| 355 | {{{#!if mine[index - 10] == 1 | |
| 356 | {{{#!if ++cell | |
| 357 | }}}}}}}}}{{{#!if index > 9 | |
| 358 | {{{#!if mine[index - 9] == 1 | |
| 359 | {{{#!if ++cell | |
| 360 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 361 | {{{#!if mine[index - 8] == 1 | |
| 362 | {{{#!if ++cell | |
| 363 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 364 | {{{#!if mine[index - 1] == 1 | |
| 365 | {{{#!if ++cell | |
| 366 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 367 | {{{#!if mine[index + 1] == 1 | |
| 368 | {{{#!if ++cell | |
| 369 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 370 | {{{#!if mine[index + 8] == 1 | |
| 371 | {{{#!if ++cell | |
| 372 | }}}}}}}}}{{{#!if index < 72 | |
| 373 | {{{#!if mine[index + 9] == 1 | |
| 374 | {{{#!if ++cell | |
| 375 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 376 | {{{#!if mine[index + 10] == 1 | |
| 377 | {{{#!if ++cell | |
| 378 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 379 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 380 | {{{#!if mine[index] == 0 | |
| 381 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 382 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 383 | {{{#!if cell > 0 | |
| 384 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 385 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide" | |
| 386 | {{{#!wiki class="mine mine-over" | |
| 387 | {{{#!wiki class="mineh mine-hide" | |
| 388 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 389 | }}}}}}}}} | |
| 78 | 390 | |
| 79 | 391 | |
| 80 | }}} || | |
| 81 | 392 | |
| 393 | }}}|| | |
| 82 | 394 | |
| 83 | 395 | |
| 84 | 396 | |
| 85 | 397 | |
| 86 | 398 | |
| 399 | ||
| 87 | 400 | ---- |
| 88 | 401 | ################################################### |
| 89 | 402 | ---- |
| ... | ... |