summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-04-30 08:50:37 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-04-30 08:50:37 +0200
commit4afa51e9e686075194194b80c0cc572222ee47aa (patch)
tree982f86c441e732fa24e02f54b565da30d4a1c086 /src/main.cpp
parent8e94318a960259c3ef2dad472705e6de0b3229df (diff)
parent71ebf1235ed023425c2539eabf1d15ba922c1dda (diff)
add file to gitignore
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 00473f8..206b47a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,13 +1,22 @@
#include <iostream>
#include <string>
+#include <time.h>
+<<<<<<< HEAD
#include "./Model/Grid.hpp"
+=======
+#include "CTController/CTConsole.hpp"
+>>>>>>> 71ebf1235ed023425c2539eabf1d15ba922c1dda
int main()
{
- Grid * grid = new Grid(4);
-
- grid->afficher();
-
- return 0;
+ srand(time(NULL));
+
+ CTConsole * controller = new CTConsole();
+
+ controller->play();
+
+ delete controller;
+
+ return 0;
}