diff options
| author | krilius <ulrich.lejoyeux@gmail.com> | 2015-04-30 08:48:29 +0400 |
|---|---|---|
| committer | krilius <ulrich.lejoyeux@gmail.com> | 2015-04-30 08:48:29 +0400 |
| commit | 71ebf1235ed023425c2539eabf1d15ba922c1dda (patch) | |
| tree | 6a6e78a49a85d75a548da263ac4bd0f83635de98 /src/main.cpp | |
| parent | a3b805ee7b96d1d693c4108f0104650cfd60b565 (diff) | |
first version of the controller
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
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 <iostream> #include <string> +#include <time.h> -#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; } |
