This commit is contained in:
2024-07-30 12:29:12 +03:00
parent 69ca98ffb5
commit aa0a2c5fb9
4 changed files with 124 additions and 26 deletions

16
globals.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef GLOBALS_H
#define GLOBALS_H
#define BUF_SIZE 256
// Total board size
#define BRD_SIZE_X 30
#define BRD_SIZE_Y 15
// Playable board coord range values
#define PL_BRD_XS 1
#define PL_BRD_XE BRD_SIZE_X - 2
#define PL_BRD_YS 1
#define PL_BRD_YE BRD_SIZE_Y - 2
#endif // GLOBALS_H