diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-30 08:50:37 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-30 08:50:37 +0200 |
| commit | 4afa51e9e686075194194b80c0cc572222ee47aa (patch) | |
| tree | 982f86c441e732fa24e02f54b565da30d4a1c086 /src/main.cpp | |
| parent | 8e94318a960259c3ef2dad472705e6de0b3229df (diff) | |
| parent | 71ebf1235ed023425c2539eabf1d15ba922c1dda (diff) | |
add file to gitignore
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 19 |
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; } |
