Initial commit on develop branch
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "Board.h"
|
||||
#include "Bot.h"
|
||||
#include "Player.h"
|
||||
#include <string>
|
||||
|
||||
struct SinglePlayerGame
|
||||
{
|
||||
int id;
|
||||
Board* GameBoard;
|
||||
std::string mode;
|
||||
Player* Player1;
|
||||
Bot* GameBot;
|
||||
char CurrentTurnColor;
|
||||
int Winner;
|
||||
|
||||
public:
|
||||
SinglePlayerGame(Board* GameBoard, Player* Player1, Bot* GameBot, char CurrentTurnColor);
|
||||
void start();
|
||||
std::string retrieveGame();
|
||||
|
||||
private:
|
||||
void end();
|
||||
void save();
|
||||
void changeTurn();
|
||||
};
|
||||
Reference in New Issue
Block a user