summaryrefslogtreecommitdiff
path: root/src/Core/Main.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/Main.php')
-rw-r--r--src/Core/Main.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Core/Main.php b/src/Core/Main.php
new file mode 100644
index 0000000..594b15c
--- /dev/null
+++ b/src/Core/Main.php
@@ -0,0 +1,29 @@
+<?php
+
+namespace App\Core;
+
+use App\Game;
+
+/**
+* Core Main class, deals with all set-up
+*/
+class Main
+{
+
+ public function __construct()
+ {
+ $this->init();
+
+ $this->run();
+ }
+
+ protected function init()
+ {
+ return true;
+ }
+
+ protected function run()
+ {
+ $game = new Game();
+ }
+} \ No newline at end of file