A weird game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
turings-tarpit/escape_turings_tarpit.cpp

23 lines
401 B

#include "builder.hpp"
#include "gui.hpp"
#include <fmt/core.h>
int main(int argc, char *argv[])
{
GameEngine game{100};
auto backend = SFMLBackend(game);
GUI gui(backend);
auto builder = Builder(gui, game);
backend.startup();
while(backend.is_open()) {
builder.event(BuildEvent::GO);
gui.main_loop();
}
builder.event(BuildEvent::QUIT);
backend.shutdown();
return 1;
}