summaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: 217fe8127d9f70e31052bf210271e71fbc47803e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

//----- STD include -----
#include <iostream>
#include <string>
#include <time.h>
//----------------------

//----- Personnal include -----
#include "./Model/Grid.hpp"
#include "./Controllers/ConsoleController/ConsoleController.hpp"
//-----------------------------

#include "./Model/Cell.hpp"
//#include "./Model/Elements/StringElement.hpp"

//----- Start -----



int main()
{
	Cell<StringElement> cell1("loic");
	Cell<StringElement> cell2("loic");


	if(cell1==cell2){
		std::cout << "Egale" << std::endl;
	}
	else{
		std::cout << "Différent" << std::endl;
	}

    	//Init random
	srand(time(NULL));

	//Init console controller
	ConsoleController * controller = new ConsoleController();

	//Launch game
	controller->play();

	//Remove controlelr
	delete controller;

	return 0;
}