Files
ConsoleMenu/main.c
felicianoa237 806041eaaa Updated code
2025-03-24 09:02:39 -05:00

26 lines
840 B
C

#pragma clang diagnostic push
#pragma ide diagnostic ignored "cppcoreguidelines-narrowing-conversions"
#include "game.h"
int randomSeed[78] = {
26, 38, 69, 23, 29, 35, 45, 59, 60, 86, 55, 64, 3, 92, 74, 18, 16, 81, 17, 67,
98, 89, 49, 51, 83, 36, 72, 7, 75, 84, 31, 81, 29, 15, 96, 58, 96, 27, 88, 40,
1, 47, 30, 7, 61, 3, 4, 72, 39, 44, 69, 8, 24, 69, 11, 7, 19, 74, 79, 70, 71,
86, 78, 87, 53, 49, 97, 96, 60, 71, 8, 41, 49, 63, 79, 43, 12, 6
};
int main()
{
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
COORD coordScreen = {0, 0};
DWORD cCharsWritten;
CONSOLE_SCREEN_BUFFER_INFO csbi;
DWORD dwConSize;
struct Game game = {0, GetStdHandle(STD_OUTPUT_HANDLE), csbi, &cCharsWritten};
Game *pGame = &game;
gameINIT(pGame);
return 0;
}
#pragma clang diagnostic pop