From a74ee5d5d6789905a346e78097aaed4cabf693ce Mon Sep 17 00:00:00 2001 From: iridiumR Date: Sat, 11 Jun 2022 01:29:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(MCU=E8=AF=BE=E8=AE=BE):=20=E6=B2=A1?= =?UTF-8?q?=E5=81=9A=E5=AE=8C=EF=BC=8C=E4=BD=86=E4=B8=8D=E5=8A=A0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MCU/MCU_REAL_FINAL/IMG/方块.psd | Bin 22758 -> 26416 bytes MCU/MCU_REAL_FINAL/IMG/炸弹.bmp | Bin 0 -> 248 bytes MCU/MCU_REAL_FINAL/mine.c | 8 ++++---- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 MCU/MCU_REAL_FINAL/IMG/炸弹.bmp diff --git a/MCU/MCU_REAL_FINAL/IMG/方块.psd b/MCU/MCU_REAL_FINAL/IMG/方块.psd index 5c18c42a82867f42fea92aa3e75c51f644c9994e..e29985c99202f4d75c68015caa383ef1896bf7ad 100644 GIT binary patch delta 2402 zcmbtVO=wd=5Z+B*lBZ~Y0)k+q1sm{SFiBIIwA#{mkP6i%PX$FPP10gPq=zbs$R30q zJgD$4o@#eCWweau@nVQ#U6a_%}%W)7e3baYoCK&ctmpKS9==bhdxMfCyua5q_Ncw?+3ye2mFIhOsEdnr7cEU%L1D z#fHH6xrdJeGY2u&2C>Zi)Xr56h9hpKYRxFGpV(~(1 zIF>0C6S3q-vNJI}S}b(N6HcFzH|&qW$#t>q$xx4e!g(8d6?d+tkNK@1SZF9X`+R2U z*&8Z;3u2q3HLf>~HVoZWO?4pNEUg@l>*9^E5~r-~c$Y(QK6m%=z99Ar17WNIt!FS2 z$7_hwB8eDcL7ctmT9~g}8u(a16gGS;P4d{{lm^1S@VA$9%O@9Ic57j` z*&pq7KQQOYq0QWD`sSd)&2UNPoN|9T_j6eum{`2r{M-JS&jmM1EuOMJ<>K~v>k9o*-cFvN`JFy{W=vJh znZ_=R$%2@i8Vgiujjy7WTtQ1?WvyV9*0oi%+E>uhSXnDnrS-I|WoNBDyd9^}j?*x! znC~UC)e(muaC_g89m3U%$uEwpzdiuU-o39=6Qgjjo^|qyVMrHZ-~H|03~^3h<9>aCl+@%1>vVo}&v~U}5m%2c^OSO?1iwSw|oM q4BFr*LXc*mmxlb>`GS)EUw|fvgM@ORR=j}0J5=mNkbt<##yAV7fM5nj1_)pVQXF8+!2n_dL13MQlcz5W3z)+$!^FS>~U0?@}J@V&CMGEc^TOa zt&GjBj4d}G31VU7U~2$6poM{H^Mzn1M%Ji>VmQ*)7Iq@{-UyAklI$ cps2#+qp?k!S>v=AH=CyXVVwLv&H;+;0n2<_tpET3 diff --git a/MCU/MCU_REAL_FINAL/IMG/炸弹.bmp b/MCU/MCU_REAL_FINAL/IMG/炸弹.bmp new file mode 100644 index 0000000000000000000000000000000000000000..253b68d1d719a623d3f9241863e2f63aff103d0f GIT binary patch literal 248 zcmZ?r{lNeMWp?JB07(4D4Ir`*g+NuviXnn<5@H6N3t=D| Vj8zJ&AlxFjAwUMQQD|%i1^|G2ZwCMX literal 0 HcmV?d00001 diff --git a/MCU/MCU_REAL_FINAL/mine.c b/MCU/MCU_REAL_FINAL/mine.c index 8b0b8ff..a0f587f 100644 --- a/MCU/MCU_REAL_FINAL/mine.c +++ b/MCU/MCU_REAL_FINAL/mine.c @@ -16,11 +16,11 @@ void mineInit() char i, j; mineGameStatus = start; score = 0; - - for(i = 0; i < 8; i++) - for(j = 0; j < 8; j++) - placeIMG_BLOCK(i, j); genMine(); + for(i = 0; i < 8; i++) + for(j = 0; j < 8; j++) + if(mbase[i][j]==-1) + placeIMG_BLOCK(i, j); } void mineDestroy()