summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp33
1 files changed, 20 insertions, 13 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 206b47a..91a1fe6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,22 +1,29 @@
+
+//----- STD include -----
#include <iostream>
#include <string>
#include <time.h>
+//----------------------
-<<<<<<< HEAD
+//----- Personnal include -----
#include "./Model/Grid.hpp"
-=======
-#include "CTController/CTConsole.hpp"
->>>>>>> 71ebf1235ed023425c2539eabf1d15ba922c1dda
+#include "./Controller/ConsoleController/ConsoleController.hpp"
+//-----------------------------
+
+
+//----- Start -----
int main()
{
- srand(time(NULL));
-
- CTConsole * controller = new CTConsole();
-
- controller->play();
-
- delete controller;
-
- return 0;
+ //Init random
+ srand(time(NULL));
+
+ //Init console controller
+ ConsoleController * controller = new ConsoleController();
+
+ controller->play();
+
+ delete controller;
+
+ return 0;
}