This commit is contained in:
2024-08-02 16:37:41 +03:00
parent 26d1919258
commit cf809176b6
9 changed files with 266 additions and 138 deletions

12
utils/utils.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef UTILS_H_
#define UTILS_H_
#include <time.h>
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();
#endif // UTILS_H_