初具模型的扫雷
This commit is contained in:
24
include/def.h
Normal file
24
include/def.h
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef DEF_H
|
||||
#define DEF_Hs
|
||||
|
||||
// 行列数
|
||||
#define ROW 10
|
||||
#define COL 10
|
||||
|
||||
// 地雷个数
|
||||
#define BOOM 15
|
||||
|
||||
// 窗口大小
|
||||
#define WinWidth 400
|
||||
#define WinHeight 400
|
||||
|
||||
// 矩形大小
|
||||
#define rectWidth 40
|
||||
#define rectHeight 40
|
||||
|
||||
// 颜色
|
||||
#define OVER (Color){0X4E,0X4E,0X4E,255}
|
||||
#define BACKGROUND (Color){0XE1,0XE2,0XE3,0XFF}
|
||||
#define FLOW (Color){175,175,175,0}
|
||||
|
||||
#endif //DEF_H
|
||||
Reference in New Issue
Block a user