aboutsummaryrefslogtreecommitdiff
path: root/frontend/main.cpp
blob: 64b447440abf6c69f77c41b9b26a8d7de989ca1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "backend/print.h"

#include "GameController.h"
#include "Exception.h"

using namespace std;

int main() {
	try {
		GameController game;
		return game.main();
	} catch (Exception & e) {
		lprtf("FOUT: %s\n", e.what());
		return EXIT_FAILURE;
	}
}