Files
Text-Adventure/main.cpp
T
weirdbeardgame 45c365e317 Added copy operators for game's static instance
Player
CommandParser can be swapped but not copied.
2026-08-28 20:38:11 -05:00

15 lines
254 B
C++

#include "game.h"
int main(int argc, char *argv[]) {
Game game; // Calls default constructor which Initializes GAME
if (!game) {
game = Game::Instance();
}
while (game.GetIsActive()) {
game.Run();
}
return 0;
}