board size change feature

This commit is contained in:
2024-08-28 10:07:35 +03:00
parent 47d72e2df1
commit 9b515ae973
7 changed files with 69 additions and 80 deletions

View File

@@ -2,11 +2,14 @@
#define UTILS_H_
#include <time.h>
#include "../globals.h"
extern boardInfo brdInfo;
int randomInt(const int start, const int end, const unsigned int seed);
int randomX(const clock_t initClock);
int randomY(const clock_t initClock);
void sleep_ms(const int ms);
void printBoard();
void printBoard(char board[][brdInfo.x]);
#endif // UTILS_H_