-
Notifications
You must be signed in to change notification settings - Fork 0
/
GameBoard.h
43 lines (39 loc) · 1.14 KB
/
GameBoard.h
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
#pragma once
#include<iostream>
#include<string>
#include<vector>
#include<iomanip>
using namespace std;
class GameBoard
{
public:
friend class GenericPlayer; // Allows Player class access to all of GameBoards members.
friend class Player;
friend class Legion;
GameBoard();
GameBoard(const int unsigned rows,const int unsigned columns);
~GameBoard();
void SetDeploymentZones();
void IdentifyBorders();
void DisplayInstructions(string x);
void DisplayAnnouncement(string x);
void AddTurn();
int GetTurnNumber()const;
bool PlayersReady = false;
private:
int turnCount;
unsigned const int ROWS;
unsigned const int COLUMNS;
string BoardDivision = ("____________________________________________________________");;
string Announcement = "";
string Instructions = "";
string LetterCoordinates = ("ABCDEFGH");
vector<string> Player1DeploymentZoneSpaces;
vector<string> Player2DeploymentZoneSpaces;
vector<string> BorderSpaces;
vector<string> TopBorderSpaces;
vector<string> BottomBorderSpaces;
vector<string> LeftBorderSpaces;
vector<string> RightBorderSpaces;
vector<vector<char>> BoardVector;
};