-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.cpp
33 lines (29 loc) · 1.19 KB
/
main.cpp
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
#include <iostream>
#include <GameController.h>
#include <GameSettings.h>
int main()
{
/* TASKS create:
* - RandomPlayer class inheriting IPlayer
* - StandardGameModel class inheriting IGameModel, try to use IHandComparator class
* - StandardDeckShuffler class inheriting IDeckShuffler
* - ConsoleView class inheriting IViewClass
* - fill inform*** methods in GameController marked as TODO
*
* other options, create:
* - AIPlayer - class with Artifical inteligence
* - ConsolePlayer - class taking decisions from console
* - other view class
* - other game model class, eg. NetworkGameModel
*/
// auto gameModel = std::make_unique<StandardGameModel>();
// texasHolderPoker::GameController gameController{std::move(gameModel)};
// auto consoleView = std::make_shared<ConsoleView>();
// gameController->addView(consoleView);
// gameController->addPlayer(std::make_shared<RandomPlayer>());
// gameController->addPlayer(std::make_shared<RandomPlayer>());
// gameController->addPlayer(std::make_shared<RandomPlayer>());
// texasHolderPoker::GameMoneyRules rules;
// gameController->startGame(rules);
return 0;
}