22 lines
287 B
C
22 lines
287 B
C
#ifndef BOARD_H_
|
|
#define BOARD_H_
|
|
|
|
typedef struct {
|
|
int x;
|
|
int y;
|
|
} boardInfo;
|
|
|
|
typedef struct {
|
|
int xs;
|
|
int xe;
|
|
int ys;
|
|
int ye;
|
|
} playableBoardInfo;
|
|
|
|
extern boardInfo brdInfo;
|
|
|
|
void setBoardBorders(char board[][brdInfo.x]);
|
|
void printBoard(char board[][brdInfo.x]);
|
|
|
|
#endif
|