SQCSimulator2023/SQCSim-srv/main.cpp
MarcEricMartel 9aaad6426c 🚫 👂 🐆
2023-12-09 12:02:04 -05:00

13 lines
266 B
C++

#include "server.h"
int main() {
std::unique_ptr<Server> server = std::make_unique<Server>();
if (server->Init() == 0)
while (server->Ready() == 0) {
server->Run();
if (!server->NewGameRequested())
break;
server->Cleanup();
}
server->DeInit();
}