ugfx/demos/games/minesweeper/mines.h

19 lines
510 B
C
Raw Permalink Normal View History

2016-07-27 13:37:56 +00:00
#ifndef _MINES_H_
#define _MINES_H_
#define MINES_CELL_WIDTH 23 // Number of pixels
#define MINES_CELL_HEIGHT 23 // Number of pixels
#define MINES_FIELD_WIDTH 20 // Number of cells
#define MINES_FIELD_HEIGHT 11 // Number of cells
#define MINES_FLAG_DELAY 150 // Number of milliseconds
#define MINES_MINE_COUNT 35 // Around 15%-20% field/mines ratio is nice!
void minesInit(void);
void minesStart(void);
#if MINES_SHOW_SPLASH
void minesShowSplash(void);
#endif
#endif /* _MINES_H_ */