This commit is contained in:
Rorikstr | Rust Dev 2025-09-29 15:20:21 +03:00
parent f8e1e664a7
commit 5fd528e22a
11 changed files with 78 additions and 67 deletions

View file

@ -1,12 +0,0 @@
#include "01_automato.h"
static GameState_t g_state = {0};
GameState_t* get_game_state(void) {
static int initialized = 0;
if (!initialized) {
g_state.state = GameOver;
initialized = 1;
}
return &g_state;
}