From 71ebf1235ed023425c2539eabf1d15ba922c1dda Mon Sep 17 00:00:00 2001 From: krilius Date: Thu, 30 Apr 2015 08:48:29 +0400 Subject: first version of the controller --- src/main.cpp | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 12f6c6d..9006fcd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,13 +1,18 @@ #include #include +#include -#include "Model/Grid.hpp" +#include "CTController/CTConsole.hpp" int main() { - Grid * grid = new Grid(4); - - grid->afficher(); - - return 0; + srand(time(NULL)); + + CTConsole * controller = new CTConsole(); + + controller->play(); + + delete controller; + + return 0; } -- cgit v1.2.3