Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- #include <iostream>
- using std::string;
- class Board
- {
- public:
- Board();
- int SetSquare(int nPosition, string XorO);
- void PrintBoard();
- void ResetBoard();
- bool CheckWinCondition();
- string GetWinningPlayer();
- private:
- string sPosTopLeft;
- string sPosTopMid;
- string sPosTopRight;
- string sPosMidLeft;
- string sPosMidMid;
- string sPosMidRight;
- string sPosBotLeft;
- string sPosBotMid;
- string sPosBotRight;
- string sWinningPlayer;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement