#N canvas 21 22 319 608 10; #X obj 71 58 tgl 15 0 thematrix r0 empty 5 8 0 10 -66577 -66577 -262144 0 100; #X obj 86 58 tgl 15 0 thematrix r1 empty 5 8 0 10 -66577 -66577 -262144 0 101; #X obj 101 58 tgl 15 0 thematrix r2 empty 5 8 0 10 -66577 -66577 -262144 0 102; #X obj 116 58 tgl 15 0 thematrix r3 empty 5 8 0 10 -66577 -66577 -262144 0 103; #X obj 131 58 tgl 15 0 thematrix r4 empty 5 8 0 10 -66577 -66577 -262144 0 104; #X obj 146 58 tgl 15 0 thematrix r5 empty 5 8 0 10 -66577 -66577 -262144 0 105; #X obj 161 58 tgl 15 0 thematrix r6 empty 5 8 0 10 -66577 -66577 -262144 0 106; #X obj 176 58 tgl 15 0 thematrix r7 empty 5 8 0 10 -66577 -66577 -262144 0 107; #X obj 191 58 tgl 15 0 thematrix r8 empty 5 8 0 10 -66577 -66577 -262144 0 108; #X obj 206 58 tgl 15 0 thematrix r9 empty 5 8 0 10 -66577 -66577 -262144 0 109; #X obj 71 73 tgl 15 0 thematrix r10 empty 5 8 0 10 -66577 -66577 -262144 0 110; #X obj 86 73 tgl 15 0 thematrix r11 empty 5 8 0 10 -66577 -66577 -262144 0 111; #X obj 101 73 tgl 15 0 thematrix r12 empty 5 8 0 10 -66577 -66577 -262144 0 112; #X obj 116 73 tgl 15 0 thematrix r13 empty 5 8 0 10 -66577 -66577 -262144 0 113; #X obj 131 73 tgl 15 0 thematrix r14 empty 5 8 0 10 -66577 -66577 -262144 0 114; #X obj 146 73 tgl 15 0 thematrix r15 empty 5 8 0 10 -66577 -66577 -262144 0 115; #X obj 161 73 tgl 15 0 thematrix r16 empty 5 8 0 10 -66577 -66577 -262144 0 116; #X obj 176 73 tgl 15 0 thematrix r17 empty 5 8 0 10 -66577 -66577 -262144 0 117; #X obj 191 73 tgl 15 0 thematrix r18 empty 5 8 0 10 -66577 -66577 -262144 0 118; #X obj 206 73 tgl 15 0 thematrix r19 empty 5 8 0 10 -66577 -66577 -262144 0 119; #X obj 71 88 tgl 15 0 thematrix r20 empty 5 8 0 10 -66577 -66577 -262144 0 120; #X obj 86 88 tgl 15 0 thematrix r21 empty 5 8 0 10 -66577 -66577 -262144 0 121; #X obj 101 88 tgl 15 0 thematrix r22 empty 5 8 0 10 -66577 -66577 -262144 0 122; #X obj 116 88 tgl 15 0 thematrix r23 empty 5 8 0 10 -66577 -66577 -262144 0 123; #X obj 131 88 tgl 15 0 thematrix r24 empty 5 8 0 10 -66577 -66577 -262144 0 124; #X obj 146 88 tgl 15 0 thematrix r25 empty 5 8 0 10 -66577 -66577 -262144 0 125; #X obj 161 88 tgl 15 0 thematrix r26 empty 5 8 0 10 -66577 -66577 -262144 0 126; #X obj 176 88 tgl 15 0 thematrix r27 empty 5 8 0 10 -66577 -66577 -262144 0 127; #X obj 191 88 tgl 15 0 thematrix r28 empty 5 8 0 10 -66577 -66577 -262144 0 128; #X obj 206 88 tgl 15 0 thematrix r29 empty 5 8 0 10 -66577 -66577 -262144 0 129; #X obj 71 103 tgl 15 0 thematrix r30 empty 5 8 0 10 -66577 -66577 -262144 0 130; #X obj 86 103 tgl 15 0 thematrix r31 empty 5 8 0 10 -66577 -66577 -262144 0 131; #X obj 101 103 tgl 15 0 thematrix r32 empty 5 8 0 10 -66577 -66577 -262144 0 132; #X obj 116 103 tgl 15 0 thematrix r33 empty 5 8 0 10 -66577 -66577 -262144 0 133; #X obj 131 103 tgl 15 0 thematrix r34 empty 5 8 0 10 -66577 -66577 -262144 0 134; #X obj 146 103 tgl 15 0 thematrix r35 empty 5 8 0 10 -66577 -66577 -262144 0 135; #X obj 161 103 tgl 15 0 thematrix r36 empty 5 8 0 10 -66577 -66577 -262144 0 136; #X obj 176 103 tgl 15 0 thematrix r37 empty 5 8 0 10 -66577 -66577 -262144 0 137; #X obj 191 103 tgl 15 0 thematrix r38 empty 5 8 0 10 -66577 -66577 -262144 0 138; #X obj 206 103 tgl 15 0 thematrix r39 empty 5 8 0 10 -66577 -66577 -262144 0 139; #X obj 71 118 tgl 15 0 thematrix r40 empty 5 8 0 10 -66577 -66577 -262144 0 140; #X obj 86 118 tgl 15 0 thematrix r41 empty 5 8 0 10 -66577 -66577 -262144 0 141; #X obj 101 118 tgl 15 0 thematrix r42 empty 5 8 0 10 -66577 -66577 -262144 0 142; #X obj 116 118 tgl 15 0 thematrix r43 empty 5 8 0 10 -66577 -66577 -262144 0 143; #X obj 131 118 tgl 15 0 thematrix r44 empty 5 8 0 10 -66577 -66577 -262144 0 144; #X obj 146 118 tgl 15 0 thematrix r45 empty 5 8 0 10 -66577 -66577 -262144 0 145; #X obj 161 118 tgl 15 0 thematrix r46 empty 5 8 0 10 -66577 -66577 -262144 0 146; #X obj 176 118 tgl 15 0 thematrix r47 empty 5 8 0 10 -66577 -66577 -262144 0 147; #X obj 191 118 tgl 15 0 thematrix r48 empty 5 8 0 10 -66577 -66577 -262144 0 148; #X obj 206 118 tgl 15 0 thematrix r49 empty 5 8 0 10 -66577 -66577 -262144 0 149; #X obj 71 133 tgl 15 0 thematrix r50 empty 5 8 0 10 -66577 -66577 -262144 0 150; #X obj 86 133 tgl 15 0 thematrix r51 empty 5 8 0 10 -66577 -66577 -262144 0 151; #X obj 101 133 tgl 15 0 thematrix r52 empty 5 8 0 10 -66577 -66577 -262144 0 152; #X obj 116 133 tgl 15 0 thematrix r53 empty 5 8 0 10 -66577 -66577 -262144 0 153; #X obj 131 133 tgl 15 0 thematrix r54 empty 5 8 0 10 -66577 -66577 -262144 0 154; #X obj 146 133 tgl 15 0 thematrix r55 empty 5 8 0 10 -66577 -66577 -262144 0 155; #X obj 161 133 tgl 15 0 thematrix r56 empty 5 8 0 10 -66577 -66577 -262144 0 156; #X obj 176 133 tgl 15 0 thematrix r57 empty 5 8 0 10 -66577 -66577 -262144 0 157; #X obj 191 133 tgl 15 0 thematrix r58 empty 5 8 0 10 -66577 -66577 -262144 0 158; #X obj 206 133 tgl 15 0 thematrix r59 empty 5 8 0 10 -66577 -66577 -262144 0 159; #X obj 71 148 tgl 15 0 thematrix r60 empty 5 8 0 10 -66577 -66577 -262144 0 160; #X obj 86 148 tgl 15 0 thematrix r61 empty 5 8 0 10 -66577 -66577 -262144 0 161; #X obj 101 148 tgl 15 0 thematrix r62 empty 5 8 0 10 -66577 -66577 -262144 0 162; #X obj 116 148 tgl 15 0 thematrix r63 empty 5 8 0 10 -66577 -66577 -262144 0 163; #X obj 131 148 tgl 15 0 thematrix r64 empty 5 8 0 10 -66577 -66577 -262144 0 164; #X obj 146 148 tgl 15 0 thematrix r65 empty 5 8 0 10 -66577 -66577 -262144 0 165; #X obj 161 148 tgl 15 0 thematrix r66 empty 5 8 0 10 -66577 -66577 -262144 0 166; #X obj 176 148 tgl 15 0 thematrix r67 empty 5 8 0 10 -66577 -66577 -262144 0 167; #X obj 191 148 tgl 15 0 thematrix r68 empty 5 8 0 10 -66577 -66577 -262144 0 168; #X obj 206 148 tgl 15 0 thematrix r69 empty 5 8 0 10 -66577 -66577 -262144 0 169; #X obj 71 163 tgl 15 0 thematrix r70 empty 5 8 0 10 -66577 -66577 -262144 0 170; #X obj 86 163 tgl 15 0 thematrix r71 empty 5 8 0 10 -66577 -66577 -262144 0 171; #X obj 101 163 tgl 15 0 thematrix r72 empty 5 8 0 10 -66577 -66577 -262144 0 172; #X obj 116 163 tgl 15 0 thematrix r73 empty 5 8 0 10 -66577 -66577 -262144 0 173; #X obj 131 163 tgl 15 0 thematrix r74 empty 5 8 0 10 -66577 -66577 -262144 0 174; #X obj 146 163 tgl 15 0 thematrix r75 empty 5 8 0 10 -66577 -66577 -262144 0 175; #X obj 161 163 tgl 15 0 thematrix r76 empty 5 8 0 10 -66577 -66577 -262144 0 176; #X obj 176 163 tgl 15 0 thematrix r77 empty 5 8 0 10 -66577 -66577 -262144 0 177; #X obj 191 163 tgl 15 0 thematrix r78 empty 5 8 0 10 -66577 -66577 -262144 0 178; #X obj 206 163 tgl 15 0 thematrix r79 empty 5 8 0 10 -66577 -66577 -262144 0 179; #X obj 71 178 tgl 15 0 thematrix r80 empty 5 8 0 10 -66577 -66577 -262144 0 180; #X obj 86 178 tgl 15 0 thematrix r81 empty 5 8 0 10 -66577 -66577 -262144 0 181; #X obj 101 178 tgl 15 0 thematrix r82 empty 5 8 0 10 -66577 -66577 -262144 0 182; #X obj 116 178 tgl 15 0 thematrix r83 empty 5 8 0 10 -66577 -66577 -262144 0 183; #X obj 131 178 tgl 15 0 thematrix r84 empty 5 8 0 10 -66577 -66577 -262144 0 184; #X obj 146 178 tgl 15 0 thematrix r85 empty 5 8 0 10 -66577 -66577 -262144 0 185; #X obj 161 178 tgl 15 0 thematrix r86 empty 5 8 0 10 -66577 -66577 -262144 0 186; #X obj 176 178 tgl 15 0 thematrix r87 empty 5 8 0 10 -66577 -66577 -262144 0 187; #X obj 191 178 tgl 15 0 thematrix r88 empty 5 8 0 10 -66577 -66577 -262144 0 188; #X obj 206 178 tgl 15 0 thematrix r89 empty 5 8 0 10 -66577 -66577 -262144 0 189; #X obj 71 193 tgl 15 0 thematrix r90 empty 5 8 0 10 -66577 -66577 -262144 0 190; #X obj 86 193 tgl 15 0 thematrix r91 empty 5 8 0 10 -66577 -66577 -262144 0 191; #X obj 101 193 tgl 15 0 thematrix r92 empty 5 8 0 10 -66577 -66577 -262144 0 192; #X obj 116 193 tgl 15 0 thematrix r93 empty 5 8 0 10 -66577 -66577 -262144 0 193; #X obj 131 193 tgl 15 0 thematrix r94 empty 5 8 0 10 -66577 -66577 -262144 0 194; #X obj 146 193 tgl 15 0 thematrix r95 empty 5 8 0 10 -66577 -66577 -262144 0 195; #X obj 161 193 tgl 15 0 thematrix r96 empty 5 8 0 10 -66577 -66577 -262144 0 196; #X obj 176 193 tgl 15 0 thematrix r97 empty 5 8 0 10 -66577 -66577 -262144 0 197; #X obj 191 193 tgl 15 0 thematrix r98 empty 5 8 0 10 -66577 -66577 -262144 0 198; #X obj 206 193 tgl 15 0 thematrix r99 empty 5 8 0 10 -66577 -66577 -262144 0 199; #N canvas 846 213 450 300 (subpatch) 0; #X array data 100 float 5; #A 0 0 2 9 2 0 0 0 0 0 0 0 2 9 2 0 0 0 0 0 0 0 1 2 3 3 3 2 1 0 0 1 1 2 9 9 9 9 1 0 0 1 9 3 3 3 3 2 1 0 0 1 2 9 1 1 1 1 0 0 0 0 1 1 1 1 9 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 1 9 1 0 0; #X coords 0 -10 99 20 200 140 1; #X restore 987 205 graph; #X obj 674 271 t f f; #X obj 674 306 tabread data; #X obj 758 467 select 0; #X floatatom 149 239 5 0 0 0 - mines -; #X floatatom 149 260 5 0 0 0 Time: time -; #X obj 674 -18 r thematrix; #X obj 674 72 spigot; #X obj 902 -162 r start_game; #X obj 882 -13 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X msg 902 -113 1; #X msg 722 -78 0; #X obj 722 -105 r lost; #X obj 713 443 s lost; #X obj 758 492 f; #X obj 785 442 s setopen; #X obj 785 419 f; #X obj 758 394 t f b; #X obj 674 191 spigot; #X obj 701 123 tabread data; #X obj 701 146 < 10; #X obj 674 97 t f f; #X obj 713 362 select 9; #X obj 902 -134 t b b b; #X msg 941 -109 0; #X obj 674 335 moses 0; #X text 31 212 press m and click to (un)mark a mine; #X obj 779 173 keyname; #X obj 674 46 - 100; #X obj 1018 401 loadbang; #X obj 1018 515 s start_game; #N canvas 337 29 730 675 opennull 0; #X obj 262 82 inlet; #X floatatom 208 404 5 0 0 0 - - -; #X obj 355 349 % 10; #X obj 208 501 route 0 9; #X obj 225 635 - 11; #X obj 208 455 f; #X obj 255 116 t b b f; #X obj 45 201 tabread data; #X obj 45 261 f; #X obj 45 172 t f f; #X obj 225 663 +; #X obj 225 691 moses 0; #X obj 45 227 select 0 10; #X obj 45 299 fifop; #X obj 264 716 moses 100; #X obj 291 766 s setopen; #X obj 264 744 t f f; #X obj 218 215 until; #X msg 255 191 0; #X obj 228 161 t f b; #X obj 210 307 f; #X obj 243 306 + 1; #X obj 278 303 f; #X obj 307 303 + 10; #X obj 255 359 +; #X msg 253 248 0; #X obj 210 331 select 3; #X msg 217 191 8; #X obj 287 270 t b b; #X obj 264 219 t f f; #X obj 85 299 select 22; #X obj 208 478 pack f f f; #X obj 284 540 unpack f f f; #X obj 234 454 % 10; #X obj 208 430 t b f f; #X obj 143 537 route 1 2; #X obj 214 539 route 0 1; #X connect 0 0 6 0; #X connect 1 0 34 0; #X connect 2 0 5 1; #X connect 3 0 35 0; #X connect 3 1 36 0; #X connect 3 2 32 0; #X connect 4 0 10 0; #X connect 5 0 31 0; #X connect 6 0 19 0; #X connect 6 2 2 0; #X connect 6 2 10 1; #X connect 7 0 12 0; #X connect 8 0 13 0; #X connect 9 0 7 0; #X connect 9 1 8 1; #X connect 10 0 11 0; #X connect 11 1 14 0; #X connect 12 0 8 0; #X connect 12 1 8 0; #X connect 13 0 6 0; #X connect 14 0 16 0; #X connect 16 0 9 0; #X connect 16 1 15 0; #X connect 17 0 20 0; #X connect 18 0 29 0; #X connect 19 0 27 0; #X connect 19 1 18 0; #X connect 20 0 21 0; #X connect 20 0 26 0; #X connect 21 0 20 1; #X connect 22 0 23 0; #X connect 22 0 24 1; #X connect 23 0 22 1; #X connect 24 0 1 0; #X connect 24 0 30 0; #X connect 25 0 20 0; #X connect 26 0 28 0; #X connect 26 1 24 0; #X connect 27 0 17 0; #X connect 28 0 25 0; #X connect 28 1 22 0; #X connect 29 0 20 0; #X connect 29 1 22 0; #X connect 30 0 13 0; #X connect 31 0 3 0; #X connect 32 2 4 0; #X connect 33 0 31 1; #X connect 34 0 5 0; #X connect 34 1 33 0; #X connect 34 2 31 2; #X connect 35 0 4 0; #X connect 35 1 4 0; #X connect 36 0 4 0; #X connect 36 1 4 0; #X restore 758 520 pd opennull; #N canvas 416 302 660 498 minemarker 0; #X obj 198 -463 inlet; #X obj 428 -175 list2symbol; #X symbolatom 428 -151 10 0 0 0 - - -; #X obj 373 -235 t f f; #X obj 407 -52 s \$1; #X msg 358 -108 label *; #X obj 265 -189 tabread data; #X obj 265 -144 tabwrite data; #X obj 265 -167 - 10; #X obj 166 -411 tabread data; #X obj 166 -382 moses 0; #X obj 285 -293 f; #X obj 198 -439 t f f; #X msg 205 -363 bang; #X obj 4 -230 + 10; #X obj 79 -238 f; #X obj 4 -201 tabwrite data; #X symbolatom 122 -110 10 0 0 0 - - -; #X obj 101 -80 s \$1; #X msg 75 -159 label; #X msg 9 -116 color 2 0 0; #X obj 30 -256 t f b; #X obj 95 -197 t b f; #X obj 122 -135 l2s; #X msg 122 -158 r\$1; #X msg 428 -197 r\$1; #X msg 376 -134 color 14 14 13; #X msg -47 -111 set 0; #X msg 300 -97 set 0; #X text 274 -249 mark as mine; #X text -49 -287 unmark as mine; #X text 220 -383 already marked?; #X obj 166 -246 s minecount; #X msg 205 -285 -1; #X msg 166 -285 1; #X connect 0 0 12 0; #X connect 1 0 2 0; #X connect 2 0 4 1; #X connect 3 0 26 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 3 0 28 0; #X connect 3 1 25 0; #X connect 3 1 7 1; #X connect 5 0 4 0; #X connect 6 0 8 0; #X connect 8 0 7 0; #X connect 9 0 10 0; #X connect 10 0 21 0; #X connect 10 0 34 0; #X connect 10 1 13 0; #X connect 11 0 3 0; #X connect 12 0 9 0; #X connect 12 1 11 1; #X connect 12 1 15 1; #X connect 13 0 11 0; #X connect 13 0 33 0; #X connect 14 0 16 0; #X connect 15 0 16 1; #X connect 15 0 22 0; #X connect 17 0 18 1; #X connect 19 0 18 0; #X connect 20 0 18 0; #X connect 21 0 14 0; #X connect 21 1 15 0; #X connect 22 0 19 0; #X connect 22 0 20 0; #X connect 22 0 27 0; #X connect 22 1 24 0; #X connect 23 0 17 0; #X connect 24 0 23 0; #X connect 25 0 1 0; #X connect 26 0 4 0; #X connect 27 0 18 0; #X connect 28 0 4 0; #X connect 33 0 32 0; #X connect 34 0 32 0; #X restore 737 269 pd minemarker; #X obj 991 -130 r minecount; #X obj 991 -106 t b f; #X obj 992 -10 s mines; #X floatatom 991 -63 5 0 0 0 - - -; #X obj 991 -43 +; #X msg 941 -63 set \$1; #N canvas 528 102 546 653 setopen 0; #X obj 178 73 r setopen; #X obj 402 415 list2symbol; #X symbolatom 402 439 10 0 0 0 - - -; #X msg 402 393 list r\$1; #X obj 305 513 s \$1; #X obj 176 259 tabread data; #X obj 221 392 list2symbol; #X msg 221 417 label \$1; #X obj 221 368 list; #X obj 74 387 tabwrite data; #X obj 116 289 t f f; #X obj 229 146 tabread data; #X obj 189 104 t f f; #X obj 163 181 spigot; #X obj 79 323 tabread data; #X obj 78 352 + 10; #X obj 161 214 t f f f; #X obj 229 170 < 11; #X obj 176 283 % 10; #X obj 176 329 select 0; #X obj 275 324 * -1; #X msg 305 393 color 1 1 \$1; #X obj 374 275 s won; #X obj 275 346 + 29; #X connect 0 0 12 0; #X connect 1 0 2 0; #X connect 2 0 4 1; #X connect 3 0 1 0; #X connect 5 0 18 0; #X connect 6 0 7 0; #X connect 7 0 4 0; #X connect 8 0 6 0; #X connect 10 0 14 0; #X connect 10 1 9 1; #X connect 11 0 17 0; #X connect 12 0 13 0; #X connect 12 1 11 0; #X connect 13 0 16 0; #X connect 13 0 22 0; #X connect 14 0 15 0; #X connect 15 0 9 0; #X connect 16 0 10 0; #X connect 16 1 5 0; #X connect 16 2 3 0; #X connect 17 0 13 1; #X connect 18 0 19 0; #X connect 18 0 20 0; #X connect 19 1 8 0; #X connect 20 0 23 0; #X connect 21 0 4 0; #X connect 23 0 21 0; #X restore 1075 112 pd setopen; #X obj 103 -1 tgl 40 0 start_game win :) 7 20 0 20 -162280 -162280 -1 0 1; #X msg 841 -87 label :); #X obj 841 -61 s win; #X obj 779 -77 s timer; #N canvas 161 107 1012 489 winner 0; #X obj 171 -68 r won; #X msg 171 -25 100; #X obj 158 107 tabread data; #X obj 158 134 moses 0; #X obj 197 157 moses 10; #X obj 171 -46 t b b; #X msg 186 188 bang; #X floatatom 186 215 5 0 0 0 - - -; #X msg 267 234 set \$1; #X obj 186 232 - 1; #X obj 131 257 == 0; #X obj 172 259 == 0; #X obj 156 285 t b f; #X obj 154 384 s win; #X msg 153 361 label :D; #X obj 89 211 r mines; #X obj 153 311 +; #X obj 151 335 select 2; #X obj 358 423 s timer; #X obj 638 80 r lost; #X msg 637 162 label :(; #X obj 637 188 s win; #X obj 579 228 tabread data; #X obj 589 282 f; #X obj 577 205 t f f; #X obj 579 252 select 9; #X obj 589 310 t b f; #X msg 628 345 r\$1; #X obj 629 373 l2s; #X obj 601 416 s \$1; #X msg 565 353 label *; #X msg 523 379 color 13 13 14; #X msg 576 62 100; #X msg 312 374 0; #X obj 215 266 ==; #X obj 215 289 + 1; #X obj 160 53 until; #X msg 197 29 0; #X obj 198 84 + 1; #X obj 161 83 f; #X msg 159 29 \$1; #X obj 170 -1 t f b; #X obj 561 144 until; #X msg 598 120 0; #X obj 599 175 + 1; #X obj 562 174 f; #X msg 560 120 \$1; #X obj 571 90 t f b; #X connect 0 0 5 0; #X connect 1 0 8 0; #X connect 1 0 41 0; #X connect 2 0 3 0; #X connect 3 0 6 0; #X connect 3 1 4 0; #X connect 4 1 6 0; #X connect 5 0 1 0; #X connect 6 0 7 0; #X connect 7 0 9 0; #X connect 8 0 7 0; #X connect 9 0 8 0; #X connect 9 0 11 0; #X connect 9 0 34 0; #X connect 10 0 16 0; #X connect 11 0 12 0; #X connect 12 0 16 0; #X connect 12 1 16 1; #X connect 14 0 13 0; #X connect 15 0 10 0; #X connect 15 0 34 1; #X connect 16 0 17 0; #X connect 17 0 14 0; #X connect 17 0 33 0; #X connect 19 0 20 0; #X connect 19 0 32 0; #X connect 19 0 33 0; #X connect 20 0 21 0; #X connect 22 0 25 0; #X connect 23 0 26 0; #X connect 24 0 22 0; #X connect 24 1 23 1; #X connect 25 0 23 0; #X connect 26 0 31 0; #X connect 26 0 30 0; #X connect 26 1 27 0; #X connect 27 0 28 0; #X connect 28 0 29 1; #X connect 30 0 29 0; #X connect 31 0 29 0; #X connect 32 0 47 0; #X connect 33 0 18 0; #X connect 34 0 35 0; #X connect 35 0 17 0; #X connect 36 0 39 0; #X connect 37 0 39 1; #X connect 38 0 39 1; #X connect 39 0 38 0; #X connect 39 0 2 0; #X connect 40 0 36 0; #X connect 41 0 40 0; #X connect 41 1 37 0; #X connect 42 0 45 0; #X connect 43 0 45 1; #X connect 44 0 45 1; #X connect 45 0 44 0; #X connect 45 0 24 0; #X connect 46 0 42 0; #X connect 47 0 46 0; #X connect 47 1 43 0; #X restore 1075 165 pd winner; #X msg 779 -99 1; #X floatatom 144 334 5 10 40 0 - rnumbermines numbermines; #X msg 1045 461 10; #X obj 1045 486 s rnumbermines; #N canvas 0 22 450 300 timer 0; #X obj 138 39 r timer; #X obj 138 127 metro 1000; #X obj 138 65 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 139 157 f; #X obj 168 157 + 1; #X obj 139 185 s time; #X msg 217 126 0; #X obj 138 107 t f b; #X obj 62 133 timer; #X obj 62 106 select 1 0; #X obj 62 157 / 1000; #X connect 0 0 2 0; #X connect 1 0 3 0; #X connect 2 0 7 0; #X connect 2 0 9 0; #X connect 3 0 4 0; #X connect 3 0 5 0; #X connect 4 0 3 1; #X connect 6 0 3 1; #X connect 7 0 1 0; #X connect 7 1 6 0; #X connect 8 0 10 0; #X connect 9 0 8 0; #X connect 9 1 8 1; #X connect 10 0 5 0; #X restore 1074 139 pd timer; #X obj 1018 429 t b b; #X text 75 238 Mines left:; #X text 45 332 How many mines?; #X text 18 320 Preferences:; #X obj 830 184 == 109; #X obj 830 160 key; #X obj 779 205 +; #X obj 674 229 demux 0 1 2; #X text 717 96 test if already opened; #X text 860 159 switch mode by pressing m; #X obj 1124 47 s cleandata; #X obj 1040 47 s cleanfield; #X obj 867 47 s setnumbers; #N canvas 79 114 500 469 makemines 0; #X obj 128 84 t b b; #X obj 172 271 tabwrite data; #X obj 172 219 t b f; #X msg 173 245 9; #X obj 171 195 urn 100; #X msg 177 118 clear; #X msg 133 59 bang; #X obj 129 149 until; #X obj 134 12 inlet; #X obj 70 205 s minecount; #X floatatom 120 120 5 0 0 0 - - -; #X obj 33 48 r numbermines; #X msg 64 79 set \$1; #X connect 0 0 10 0; #X connect 0 1 5 0; #X connect 2 0 3 0; #X connect 2 1 1 1; #X connect 3 0 1 0; #X connect 4 0 2 0; #X connect 5 0 4 0; #X connect 6 0 0 0; #X connect 7 0 4 0; #X connect 8 0 6 0; #X connect 10 0 7 0; #X connect 10 0 9 0; #X connect 11 0 12 0; #X connect 12 0 10 0; #X restore 956 47 pd makemines; #N canvas 210 22 584 661 startup 0; #X obj 145 221 tabread data; #X obj 145 247 select 9; #X obj 145 273 f; #X obj 159 942 tabread data; #X obj 159 964 select 9; #X obj 204 987 + 1; #X obj 204 1010 tabwrite data; #X obj 159 916 t f f; #X obj 144 194 t f f; #X obj 184 606 % 10; #X obj 103 698 pack; #X obj 103 723 route 0 9; #X obj 219 754 unpack; #X obj 120 794 - 11; #X obj 120 836 +; #X text 37 114 set numbers; #X obj 103 672 f; #X obj 120 864 moses 0; #X obj 159 885 moses 100; #X obj 121 756 select 2 12 22; #X obj 28 757 select 0 10 20; #X floatatom 94 224 5 0 0 0 - - -; #X obj 148 114 until; #X msg 185 90 0; #X obj 186 145 + 1; #X obj 149 144 f; #X obj 476 15 r cleanfield; #X obj 384 10 r cleandata; #X obj 262 10 r setnumbers; #X obj 228 172 demux 0 1 2; #X msg 273 37 0; #X msg 391 40 1; #X msg 476 46 2; #X obj 292 82 t b f; #X obj 234 289 tabwrite data; #X obj 259 237 t b f; #X msg 239 261 0; #X obj 433 326 s \$1; #X msg 446 293 0; #X obj 435 203 t b f; #X msg 373 257 label; #X msg 419 253 color 2 2 0; #X msg 509 260 r\$1; #X obj 508 285 l2s; #X obj 58 458 until; #X msg 103 434 0; #X obj 76 413 t f b; #X obj 58 550 f; #X obj 91 549 + 1; #X obj 146 546 f; #X obj 175 546 + 10; #X obj 103 599 +; #X msg 99 519 0; #X obj 58 574 select 3; #X msg 58 434 8; #X obj 99 497 t b b; #X obj 103 458 t f f; #X obj 103 637 t b f; #X obj 145 303 t b f; #X msg 147 90 100; #X obj 158 60 t b b; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 58 0; #X connect 3 0 4 0; #X connect 4 1 5 0; #X connect 5 0 6 0; #X connect 7 0 3 0; #X connect 7 1 6 1; #X connect 8 0 0 0; #X connect 8 0 21 0; #X connect 8 1 2 1; #X connect 9 0 16 1; #X connect 10 0 11 0; #X connect 11 0 20 0; #X connect 11 1 19 0; #X connect 11 2 12 0; #X connect 12 1 13 0; #X connect 13 0 14 0; #X connect 14 0 17 0; #X connect 16 0 10 0; #X connect 17 1 18 0; #X connect 18 0 7 0; #X connect 19 3 13 0; #X connect 20 3 13 0; #X connect 22 0 25 0; #X connect 23 0 25 1; #X connect 24 0 25 1; #X connect 25 0 24 0; #X connect 25 0 29 0; #X connect 26 0 32 0; #X connect 27 0 31 0; #X connect 28 0 30 0; #X connect 29 0 8 0; #X connect 29 1 35 0; #X connect 29 2 39 0; #X connect 30 0 33 0; #X connect 31 0 33 0; #X connect 32 0 33 0; #X connect 33 0 60 0; #X connect 33 1 29 1; #X connect 35 0 36 0; #X connect 35 1 34 1; #X connect 36 0 34 0; #X connect 38 0 37 0; #X connect 39 0 38 0; #X connect 39 0 41 0; #X connect 39 0 40 0; #X connect 39 1 42 0; #X connect 40 0 37 0; #X connect 41 0 37 0; #X connect 42 0 43 0; #X connect 43 0 37 1; #X connect 44 0 47 0; #X connect 45 0 56 0; #X connect 46 0 54 0; #X connect 46 1 45 0; #X connect 47 0 48 0; #X connect 47 0 53 0; #X connect 48 0 47 1; #X connect 49 0 50 0; #X connect 49 0 51 1; #X connect 50 0 49 1; #X connect 51 0 57 0; #X connect 52 0 47 0; #X connect 53 0 55 0; #X connect 53 1 51 0; #X connect 54 0 44 0; #X connect 55 0 52 0; #X connect 55 1 49 0; #X connect 56 0 47 0; #X connect 56 1 49 0; #X connect 57 0 16 0; #X connect 57 1 10 1; #X connect 58 0 46 0; #X connect 58 1 9 0; #X connect 58 1 14 1; #X connect 59 0 22 0; #X connect 60 0 59 0; #X connect 60 1 23 0; #X restore 1077 88 pd startup; #X obj 921 -9 t b b b b; #X text 775 363 nine = mine; #X connect 101 0 102 0; #X connect 101 1 116 1; #X connect 101 1 114 1; #X connect 102 0 125 0; #X connect 103 0 114 0; #X connect 106 0 128 0; #X connect 107 0 121 0; #X connect 108 0 123 0; #X connect 109 0 107 1; #X connect 110 0 109 0; #X connect 111 0 109 0; #X connect 112 0 111 0; #X connect 114 0 131 0; #X connect 116 0 115 0; #X connect 117 0 103 0; #X connect 117 1 116 0; #X connect 118 0 157 0; #X connect 119 0 120 0; #X connect 120 0 118 1; #X connect 121 0 118 0; #X connect 121 1 119 0; #X connect 122 0 113 0; #X connect 122 1 117 0; #X connect 123 0 110 0; #X connect 123 0 141 0; #X connect 123 0 145 0; #X connect 123 1 165 0; #X connect 123 2 124 0; #X connect 124 0 109 0; #X connect 124 0 138 0; #X connect 125 1 122 0; #X connect 127 0 156 0; #X connect 128 0 107 0; #X connect 129 0 150 0; #X connect 133 0 134 0; #X connect 134 0 136 0; #X connect 134 1 137 1; #X connect 136 0 137 0; #X connect 137 0 138 0; #X connect 137 0 135 0; #X connect 138 0 136 0; #X connect 141 0 142 0; #X connect 145 0 143 0; #X connect 147 0 148 0; #X connect 150 0 130 0; #X connect 150 1 147 0; #X connect 154 0 156 1; #X connect 155 0 154 0; #X connect 156 0 157 1; #X connect 157 0 101 0; #X connect 157 1 101 0; #X connect 157 2 132 0; #X connect 165 0 162 0; #X connect 165 1 163 0; #X connect 165 2 161 0; #X connect 165 3 160 0;