| r1463 vs r1465 | ||
|---|---|---|
| 1 | ||
| 2 | 1 | {{{#!if time = time(), k = 1, A = 3 * ((time % 26) + 1), B_temp = time % 81, B = (B_temp % 3 == 0) ? (B_temp + 1) : B_temp, C = (time * 7) % 81, M = (A * (k ** 2) + B * k + C) % 81 |
| 3 | }}} | |
| 4 | ||
| 5 | M = @M@ | |
| 6 | A = @A@ | |
| 7 | B_temp = @B_temp@ | |
| 8 | B = @B@ | |
| 9 | C = @C@ | |
| 10 | k = @k@ | |
| 11 | time = @time@ | |
| 12 | ||
| 13 | {{{#!if m_0 = C % 81, m_1 = (A + B + C) % 81, m_2 = (A * 4 + B * 2 + C) % 81, m_3 = (A * 9 + B * 3 + C) % 81, m_4 = (A * 16 + B * 4 + C) % 81, m_5 = (A * 25 + B * 5 + C) % 81, m_6 = (A * 36 + B * 6 + C) % 81, m_7 = (A * 49 + B * 7 + C) % 81, m_8 = (A * 64 + B * 8 + C) % 81, m_9 = (A * 81 + B * 9 + C) % 81 | |
| 14 | }}} | |
| 15 | ||
| 16 | m_0 = @m_0@ | |
| 17 | m_1 = @m_1@ | |
| 18 | m_2 = @m_2@ | |
| 19 | m_3 = @m_3@ | |
| 20 | m_4 = @m_4@ | |
| 21 | m_5 = @m_5@ | |
| 22 | m_6 = @m_6@ | |
| 23 | m_7 = @m_7@ | |
| 24 | m_8 = @m_8@ | |
| 25 | m_9 = @m_9@ | |
| 26 | ||
| 27 | {{{#!if index = -1 | |
| 2 | }}}{{{#!if m_0 = C % 81, m_1 = (A + B + C) % 81, m_2 = (A * 4 + B * 2 + C) % 81, m_3 = (A * 9 + B * 3 + C) % 81, m_4 = (A * 16 + B * 4 + C) % 81, m_5 = (A * 25 + B * 5 + C) % 81, m_6 = (A * 36 + B * 6 + C) % 81, m_7 = (A * 49 + B * 7 + C) % 81, m_8 = (A * 64 + B * 8 + C) % 81, m_9 = (A * 81 + B * 9 + C) % 81 | |
| 3 | }}}{{{#!if index = -1 | |
| 28 | 4 | }}}{{{#!if ++index, map0 = 0 |
| 29 | 5 | }}}{{{#!if index == m_0 || index == m_1 || index == m_2 || index == m_3 || index == m_4 || index == m_5 || index == m_6 || index == m_7 || index == m_8 || index == m_9 |
| 30 | 6 | {{{#!if map0 = 1 |
| ... | ... | |
| 268 | 244 | }}}}}}{{{#!if ++index, map80 = 0 |
| 269 | 245 | }}}{{{#!if index == m_0 || index == m_1 || index == m_2 || index == m_3 || index == m_4 || index == m_5 || index == m_6 || index == m_7 || index == m_8 || index == m_9 |
| 270 | 246 | {{{#!if map80 = 1 |
| 271 | }}}}}} | |
| 247 | }}}}}}{{{#!if ismine = [0, 1] | |
| 248 | }}}{{{#!if index = -1, mine = [ismine[map0], ismine[map1], ismine[map2], ismine[map3], ismine[map4], ismine[map5], ismine[map6], ismine[map7], ismine[map8], ismine[map9], ismine[map10], ismine[map11], ismine[map12], ismine[map13], ismine[map14], ismine[map15], ismine[map16], ismine[map17], ismine[map18], ismine[map19], ismine[map20], ismine[map21], ismine[map22], ismine[map23], ismine[map24], ismine[map25], ismine[map26], ismine[map27], ismine[map28], ismine[map29], ismine[map30], ismine[map31], ismine[map32], ismine[map33], ismine[map34], ismine[map35], ismine[map36], ismine[map37], ismine[map38], ismine[map39], ismine[map40], ismine[map41], ismine[map42], ismine[map43], ismine[map44], ismine[map45], ismine[map46], ismine[map47], ismine[map48], ismine[map49], ismine[map50], ismine[map51], ismine[map52], ismine[map53], ismine[map54], ismine[map55], ismine[map56], ismine[map57], ismine[map58], ismine[map59], ismine[map60], ismine[map61], ismine[map62], ismine[map63], ismine[map64], ismine[map65], ismine[map66], ismine[map67], ismine[map68], ismine[map69], ismine[map70], ismine[map71], ismine[map72], ismine[map73], ismine[map74], ismine[map75], ismine[map76], ismine[map77], ismine[map78], ismine[map79], ismine[map80] ] | |
| 249 | }}}{{{#!style | |
| 250 | .mine-safe {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} | |
| 251 | ||
| 252 | .mine-flag {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} | |
| 253 | ||
| 254 | .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} | |
| 255 | ||
| 256 | .mine-num {width:30px;height:30px;text-align:center;background:no-repeat linear-gradient(#fff, #fff)50% 50%/calc(100% - 1px) calc(100% - 1px), linear-gradient(gray, gray);color:#000;font-weight:bold;cursor:default} | |
| 257 | ||
| 258 | .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} | |
| 259 | ||
| 260 | .mine-red {width:30px;height:30px;text-align:center;background:no-repeat linear-gradient(red, red)50% 50%/calc(100% - 1px) calc(100% - 1px), linear-gradient(gray, gray);color:#000;font-weight:bold;cursor:default} | |
| 261 | ||
| 262 | .mine-trans {width:30px;height:30px;background:transparent;cursor:default} | |
| 263 | ||
| 264 | .mine-enable {width:30px;height:30px;text-align:center;background:radial-gradient(farthest-corner, #fff 10%, #0e0 50%, #050 90%, #050 0);cursor:default} | |
| 265 | ||
| 266 | .mine-disable {width:30px;height:30px;text-align:center;background:no-repeat linear-gradient(#555, #555)50% 50%/calc(100% - 1px) calc(100% - 1px), linear-gradient(gray, gray);cursor:default} | |
| 267 | ||
| 268 | .mine-flag-icon {margin-top: -30px;width:30px;height:30px;background:no-repeat linear-gradient(#000, #000)40% 80%/45% 17%, no-repeat linear-gradient(90deg, #000, #000)40% 50%/10% 60%, no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)70% 25%/40% 40%;cursor:pointer} | |
| 269 | ||
| 270 | .mine-flag-button {width:30px;height:30px;background:no-repeat linear-gradient(#000, #000)40% 80%/45% 17%, no-repeat linear-gradient(90deg, #000, #000)40% 50%/10% 60%, no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)70% 25%/40% 40%;cursor:pointer} | |
| 271 | ||
| 272 | .mine-flag-disable {width:30px;height:30px;background:no-repeat linear-gradient(#000, #000)40% 80%/45% 17%, no-repeat linear-gradient(90deg, #000, #000)40% 50%/10% 60%, no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)70% 25%/40% 40%;cursor:default} | |
| 273 | ||
| 274 | .mine-table {display:table} | |
| 275 | ||
| 276 | .mine-align {display:table-cell;vertical-align:middle} | |
| 277 | ||
| 278 | .mine-hide {display:none} | |
| 279 | ||
| 280 | }}} | |
| 281 | ||{{{#!wiki | |
| 282 | {{{#!wiki style="" | |
| 283 | ||<nopad><tablealign=center><tablebordercolor=transparent> {{{#!wiki class="mine-align" | |
| 284 | {{{#!wiki class="mine-disable mine-hide" | |
| 285 | }}}{{{#!wiki class="mine-enable" | |
| 286 | {{{#!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" | |
| 287 | {{{#!wiki class="start mine-enable" | |
| 288 | }}}}}}}}}}}}{{{#!wiki class="mine-align" | |
| 289 | {{{#!wiki class="mine-disable mine-hide" | |
| 290 | {{{#!wiki class="mine-flag-disable" | |
| 291 | }}}}}}{{{#!wiki class="mine-enable" | |
| 292 | {{{#!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" | |
| 293 | {{{#!wiki class="mine-flag-button" | |
| 294 | }}}}}}}}}}}} ||}}}{{{#!wiki class="mine-table" | |
| 295 | {{{#!wiki class="mine-align" | |
| 296 | {{{#!if ++index, cell = 0 | |
| 297 | }}}{{{#!if mine[index] == 0 | |
| 298 | {{{#!if index % 9 != 0 && index >= 9 | |
| 299 | {{{#!if mine[index - 10] == 1 | |
| 300 | {{{#!if ++cell | |
| 301 | }}}}}}}}}{{{#!if index > 9 | |
| 302 | {{{#!if mine[index - 9] == 1 | |
| 303 | {{{#!if ++cell | |
| 304 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 305 | {{{#!if mine[index - 8] == 1 | |
| 306 | {{{#!if ++cell | |
| 307 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 308 | {{{#!if mine[index - 1] == 1 | |
| 309 | {{{#!if ++cell | |
| 310 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 311 | {{{#!if mine[index + 1] == 1 | |
| 312 | {{{#!if ++cell | |
| 313 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 314 | {{{#!if mine[index + 8] == 1 | |
| 315 | {{{#!if ++cell | |
| 316 | }}}}}}}}}{{{#!if index < 72 | |
| 317 | {{{#!if mine[index + 9] == 1 | |
| 318 | {{{#!if ++cell | |
| 319 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 320 | {{{#!if mine[index + 10] == 1 | |
| 321 | {{{#!if ++cell | |
| 322 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 323 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 324 | {{{#!if mine[index] == 0 | |
| 325 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 326 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 327 | {{{#!if cell > 0 | |
| 328 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 329 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide;add-class,mine-flag-icon,mine-hide;add-class,mine-enable,mine-hide;remove-class,mine-disable,mine-hide" | |
| 330 | {{{#!wiki class="mine mine-over" | |
| 331 | {{{#!wiki class="mineh mine-hide" | |
| 332 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 333 | }}}}}}{{{#!wiki class="mine-align" | |
| 334 | {{{#!if ++index, cell = 0 | |
| 335 | }}}{{{#!if mine[index] == 0 | |
| 336 | {{{#!if index % 9 != 0 && index >= 9 | |
| 337 | {{{#!if mine[index - 10] == 1 | |
| 338 | {{{#!if ++cell | |
| 339 | }}}}}}}}}{{{#!if index > 9 | |
| 340 | {{{#!if mine[index - 9] == 1 | |
| 341 | {{{#!if ++cell | |
| 342 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 343 | {{{#!if mine[index - 8] == 1 | |
| 344 | {{{#!if ++cell | |
| 345 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 346 | {{{#!if mine[index - 1] == 1 | |
| 347 | {{{#!if ++cell | |
| 348 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 349 | {{{#!if mine[index + 1] == 1 | |
| 350 | {{{#!if ++cell | |
| 351 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 352 | {{{#!if mine[index + 8] == 1 | |
| 353 | {{{#!if ++cell | |
| 354 | }}}}}}}}}{{{#!if index < 72 | |
| 355 | {{{#!if mine[index + 9] == 1 | |
| 356 | {{{#!if ++cell | |
| 357 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 358 | {{{#!if mine[index + 10] == 1 | |
| 359 | {{{#!if ++cell | |
| 360 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 361 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 362 | {{{#!if mine[index] == 0 | |
| 363 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 364 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 365 | {{{#!if cell > 0 | |
| 366 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 367 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide;add-class,mine-flag-icon,mine-hide;add-class,mine-enable,mine-hide;remove-class,mine-disable,mine-hide" | |
| 368 | {{{#!wiki class="mine mine-over" | |
| 369 | {{{#!wiki class="mineh mine-hide" | |
| 370 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 371 | }}}}}}}}} | |
| 372 | ||
| 373 | }}}|| | |
| 374 | ||
| 375 | ||
| 376 | {{{#!folding | |
| 377 | M = @M@ | |
| 378 | A = @A@ | |
| 379 | B_temp = @B_temp@ | |
| 380 | B = @B@ | |
| 381 | C = @C@ | |
| 382 | k = @k@ | |
| 383 | time = @time@ | |
| 384 | ||
| 385 | m_0 = @m_0@ | |
| 386 | m_1 = @m_1@ | |
| 387 | m_2 = @m_2@ | |
| 388 | m_3 = @m_3@ | |
| 389 | m_4 = @m_4@ | |
| 390 | m_5 = @m_5@ | |
| 391 | m_6 = @m_6@ | |
| 392 | m_7 = @m_7@ | |
| 393 | m_8 = @m_8@ | |
| 394 | m_9 = @m_9@ | |
| 272 | 395 | |
| 273 | 396 | map0 = @map0@ |
| 274 | 397 | map1 = @map1@ |
| ... | ... | |
| 350 | 473 | map77 = @map77@ |
| 351 | 474 | map78 = @map78@ |
| 352 | 475 | map79 = @map79@ |
| 353 | map80 = @map80@ | |
| 354 | ||
| 355 | ||
| 356 | {{{#!if ismine = [0, 1] | |
| 357 | }}} | |
| 358 | ||
| 359 | ||
| 360 | ||
| 361 | {{{#!style | |
| 362 | .mine-safe {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} | |
| 363 | ||
| 364 | .mine-flag {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} | |
| 365 | ||
| 366 | .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} | |
| 367 | ||
| 368 | .mine-num {width:30px;height:30px;text-align:center;background:no-repeat linear-gradient(#fff, #fff)50% 50%/calc(100% - 1px) calc(100% - 1px), linear-gradient(gray, gray);color:#000;font-weight:bold;cursor:default} | |
| 369 | ||
| 370 | .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} | |
| 371 | ||
| 372 | .mine-red {width:30px;height:30px;text-align:center;background:no-repeat linear-gradient(red, red)50% 50%/calc(100% - 1px) calc(100% - 1px), linear-gradient(gray, gray);color:#000;font-weight:bold;cursor:default} | |
| 373 | ||
| 374 | .mine-trans {width:30px;height:30px;background:transparent;cursor:default} | |
| 375 | ||
| 376 | .mine-enable {width:30px;height:30px;text-align:center;background:radial-gradient(farthest-corner, #fff 10%, #0e0 50%, #050 90%, #050 0);cursor:default} | |
| 377 | ||
| 378 | .mine-disable {width:30px;height:30px;text-align:center;background:no-repeat linear-gradient(#555, #555)50% 50%/calc(100% - 1px) calc(100% - 1px), linear-gradient(gray, gray);cursor:default} | |
| 379 | ||
| 380 | .mine-flag-icon {margin-top: -30px;width:30px;height:30px;background:no-repeat linear-gradient(#000, #000)40% 80%/45% 17%, no-repeat linear-gradient(90deg, #000, #000)40% 50%/10% 60%, no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)70% 25%/40% 40%;cursor:pointer} | |
| 381 | ||
| 382 | .mine-flag-button {width:30px;height:30px;background:no-repeat linear-gradient(#000, #000)40% 80%/45% 17%, no-repeat linear-gradient(90deg, #000, #000)40% 50%/10% 60%, no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)70% 25%/40% 40%;cursor:pointer} | |
| 383 | ||
| 384 | .mine-flag-disable {width:30px;height:30px;background:no-repeat linear-gradient(#000, #000)40% 80%/45% 17%, no-repeat linear-gradient(90deg, #000, #000)40% 50%/10% 60%, no-repeat conic-gradient(from 245deg at 100% 50%, red 50deg, transparent 0)70% 25%/40% 40%;cursor:default} | |
| 385 | ||
| 386 | .mine-table {display:table} | |
| 387 | ||
| 388 | .mine-align {display:table-cell;vertical-align:middle} | |
| 389 | ||
| 390 | .mine-hide {display:none} | |
| 391 | ||
| 392 | }}} | |
| 393 | ||
| 394 | ||
| 395 | {{{#!if index = -1, mine = [ismine[map0], ismine[map1], ismine[map2], ismine[map3], ismine[map4], ismine[map5], ismine[map6], ismine[map7], ismine[map8], ismine[map9], ismine[map10], ismine[map11], ismine[map12], ismine[map13], ismine[map14], ismine[map15], ismine[map16], ismine[map17], ismine[map18], ismine[map19], ismine[map20], ismine[map21], ismine[map22], ismine[map23], ismine[map24], ismine[map25], ismine[map26], ismine[map27], ismine[map28], ismine[map29], ismine[map30], ismine[map31], ismine[map32], ismine[map33], ismine[map34], ismine[map35], ismine[map36], ismine[map37], ismine[map38], ismine[map39], ismine[map40], ismine[map41], ismine[map42], ismine[map43], ismine[map44], ismine[map45], ismine[map46], ismine[map47], ismine[map48], ismine[map49], ismine[map50], ismine[map51], ismine[map52], ismine[map53], ismine[map54], ismine[map55], ismine[map56], ismine[map57], ismine[map58], ismine[map59], ismine[map60], ismine[map61], ismine[map62], ismine[map63], ismine[map64], ismine[map65], ismine[map66], ismine[map67], ismine[map68], ismine[map69], ismine[map70], ismine[map71], ismine[map72], ismine[map73], ismine[map74], ismine[map75], ismine[map76], ismine[map77], ismine[map78], ismine[map79], ismine[map80] ] | |
| 396 | }}} | |
| 397 | ||
| 398 | ||{{{#!wiki | |
| 399 | {{{#!wiki style="" | |
| 400 | ||<nopad><tablealign=center><tablebordercolor=transparent> {{{#!wiki class="mine-align" | |
| 401 | {{{#!wiki class="mine-disable mine-hide" | |
| 402 | }}}{{{#!wiki class="mine-enable" | |
| 403 | {{{#!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" | |
| 404 | {{{#!wiki class="start mine-enable" | |
| 405 | }}}}}}}}}}}}{{{#!wiki class="mine-align" | |
| 406 | {{{#!wiki class="mine-disable mine-hide" | |
| 407 | {{{#!wiki class="mine-flag-disable" | |
| 408 | }}}}}}{{{#!wiki class="mine-enable" | |
| 409 | {{{#!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" | |
| 410 | {{{#!wiki class="mine-flag-button" | |
| 411 | }}}}}}}}}}}} ||}}}{{{#!wiki class="mine-table" | |
| 412 | {{{#!wiki class="mine-align" | |
| 413 | {{{#!if ++index, cell = 0 | |
| 414 | }}}{{{#!if mine[index] == 0 | |
| 415 | {{{#!if index % 9 != 0 && index >= 9 | |
| 416 | {{{#!if mine[index - 10] == 1 | |
| 417 | {{{#!if ++cell | |
| 418 | }}}}}}}}}{{{#!if index > 9 | |
| 419 | {{{#!if mine[index - 9] == 1 | |
| 420 | {{{#!if ++cell | |
| 421 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 422 | {{{#!if mine[index - 8] == 1 | |
| 423 | {{{#!if ++cell | |
| 424 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 425 | {{{#!if mine[index - 1] == 1 | |
| 426 | {{{#!if ++cell | |
| 427 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 428 | {{{#!if mine[index + 1] == 1 | |
| 429 | {{{#!if ++cell | |
| 430 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 431 | {{{#!if mine[index + 8] == 1 | |
| 432 | {{{#!if ++cell | |
| 433 | }}}}}}}}}{{{#!if index < 72 | |
| 434 | {{{#!if mine[index + 9] == 1 | |
| 435 | {{{#!if ++cell | |
| 436 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 437 | {{{#!if mine[index + 10] == 1 | |
| 438 | {{{#!if ++cell | |
| 439 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 440 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 441 | {{{#!if mine[index] == 0 | |
| 442 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 443 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 444 | {{{#!if cell > 0 | |
| 445 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 446 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide;add-class,mine-flag-icon,mine-hide;add-class,mine-enable,mine-hide;remove-class,mine-disable,mine-hide" | |
| 447 | {{{#!wiki class="mine mine-over" | |
| 448 | {{{#!wiki class="mineh mine-hide" | |
| 449 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 450 | }}}}}}{{{#!wiki class="mine-align" | |
| 451 | {{{#!if ++index, cell = 0 | |
| 452 | }}}{{{#!if mine[index] == 0 | |
| 453 | {{{#!if index % 9 != 0 && index >= 9 | |
| 454 | {{{#!if mine[index - 10] == 1 | |
| 455 | {{{#!if ++cell | |
| 456 | }}}}}}}}}{{{#!if index > 9 | |
| 457 | {{{#!if mine[index - 9] == 1 | |
| 458 | {{{#!if ++cell | |
| 459 | }}}}}}}}}{{{#!if index % 9 != 8 && index >= 9 | |
| 460 | {{{#!if mine[index - 8] == 1 | |
| 461 | {{{#!if ++cell | |
| 462 | }}}}}}}}}{{{#!if index % 9 != 0 | |
| 463 | {{{#!if mine[index - 1] == 1 | |
| 464 | {{{#!if ++cell | |
| 465 | }}}}}}}}}{{{#!if index % 9 != 8 | |
| 466 | {{{#!if mine[index + 1] == 1 | |
| 467 | {{{#!if ++cell | |
| 468 | }}}}}}}}}{{{#!if index % 9 != 0 && index < 72 | |
| 469 | {{{#!if mine[index + 8] == 1 | |
| 470 | {{{#!if ++cell | |
| 471 | }}}}}}}}}{{{#!if index < 72 | |
| 472 | {{{#!if mine[index + 9] == 1 | |
| 473 | {{{#!if ++cell | |
| 474 | }}}}}}}}}{{{#!if index % 9 != 8 && index < 72 | |
| 475 | {{{#!if mine[index + 10] == 1 | |
| 476 | {{{#!if ++cell | |
| 477 | }}}}}}}}}}}}{{{#!wiki class="mode@index@ mine-flag mine-hide" onclick="remove-class,mode-flag@index@,mine-hide" | |
| 478 | }}}{{{#!wiki class="cell@index@ cell" onclick="remove-class,mode@index@,mine-flag;remove-class,cell@index@,cell" | |
| 479 | {{{#!if mine[index] == 0 | |
| 480 | {{{#!wiki class="mine@index@ mine-safe" onclick="add-class,mine@index@,mine-num;remove-class,mineh@index@,mine-hide" | |
| 481 | {{{#!wiki class="mineh@index@ mine-hide" | |
| 482 | {{{#!if cell > 0 | |
| 483 | @cell@}}}}}}}}}}}}{{{#!if mine[index] == 1 | |
| 484 | {{{#!wiki class="miner@index@ mine-num" onclick="add-class,mine,mine-trans;add-class,miner@index@,mine-red;remove-class,mineh,mine-hide;add-class,mine-flag-icon,mine-hide;add-class,mine-enable,mine-hide;remove-class,mine-disable,mine-hide" | |
| 485 | {{{#!wiki class="mine mine-over" | |
| 486 | {{{#!wiki class="mineh mine-hide" | |
| 487 | ●}}}}}}}}}}}}}}}{{{#!wiki class="mode-flag@index@ mine-flag-icon mine-hide" onclick="add-class,mode-flag@index@,mine-hide" | |
| 488 | }}}}}}}}} | |
| 489 | ||
| 490 | ||
| 491 | ||
| 492 | }}}|| | |
| 493 | ||
| 494 | ||
| 476 | map80 = @map80@}}} | |
| 495 | 477 | |
| 496 | 478 | |
| 497 | 479 | |
| ... | ... |