Files
spacetris/src/main.cpp
2025-12-19 20:07:48 +01:00

16 lines
397 B
C++

// main.cpp - Thin entrypoint.
//
// The full SDL initialization, loading screen, state machine, game loop, and shutdown
// are intentionally kept out of this file (see `TetrisApp`) to keep the entrypoint
// small and keep orchestration separate from gameplay/state code.
#include <SDL3/SDL_main.h>
#include "app/TetrisApp.h"
int main(int, char **)
{
TetrisApp app;
return app.run();
}