initially, the idea for the game loop was different, but since this is my first game and my first game jam, it naturally turned out to be more ambitious than I could handle, so it underwent significant cuts, like the rest of the game, just to fit in the time limit and still miss by two or three hours.)
thank you very much for the feedback!