feat(MCU课设): 没做完,但不加功能了
This commit is contained in:
parent
071e18c0de
commit
a74ee5d5d6
3 changed files with 4 additions and 4 deletions
Binary file not shown.
BIN
MCU/MCU_REAL_FINAL/IMG/炸弹.bmp
Normal file
BIN
MCU/MCU_REAL_FINAL/IMG/炸弹.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 B |
|
@ -16,11 +16,11 @@ void mineInit()
|
||||||
char i, j;
|
char i, j;
|
||||||
mineGameStatus = start;
|
mineGameStatus = start;
|
||||||
score = 0;
|
score = 0;
|
||||||
|
|
||||||
for(i = 0; i < 8; i++)
|
|
||||||
for(j = 0; j < 8; j++)
|
|
||||||
placeIMG_BLOCK(i, j);
|
|
||||||
genMine();
|
genMine();
|
||||||
|
for(i = 0; i < 8; i++)
|
||||||
|
for(j = 0; j < 8; j++)
|
||||||
|
if(mbase[i][j]==-1)
|
||||||
|
placeIMG_BLOCK(i, j);
|
||||||
}
|
}
|
||||||
|
|
||||||
void mineDestroy()
|
void mineDestroy()
|
||||||
|
|
Reference in a new issue