summaryrefslogtreecommitdiff
path: root/source/main.cpp
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@entelect.co.za>2014-07-31 13:58:22 +0200
committerJustin Worthe <justin.worthe@entelect.co.za>2014-07-31 13:58:22 +0200
commit98ba22e7064db57316dfff1ae127feb3dceeb73e (patch)
tree1f7fe3065f804e491f558650285e8c6d05fc914b /source/main.cpp
Initial commitHEADmain
Diffstat (limited to 'source/main.cpp')
-rw-r--r--source/main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/main.cpp b/source/main.cpp
new file mode 100644
index 0000000..f990ca4
--- /dev/null
+++ b/source/main.cpp
@@ -0,0 +1,21 @@
+#include "logic/Game.h"
+
+int main()
+{
+ try
+ {
+ Game game;
+ game.start();
+ }
+ catch (BadResolution)
+ {
+ }
+ catch (InstallFailure)
+ {
+ }
+ catch (FileOpenError)
+ {
+ }
+
+ return 0;
+}