\doxysection{Misere\+Tic\+Tac\+Toe\+\_\+\+Board Class Reference}
\hypertarget{class_misere_tic_tac_toe___board}{}\label{class_misere_tic_tac_toe___board}\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}


{\ttfamily \#include $<$Misere\+Tic\+Tac\+Toe.\+h$>$}

Inheritance diagram for Misere\+Tic\+Tac\+Toe\+\_\+\+Board\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_misere_tic_tac_toe___board}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_misere_tic_tac_toe___board_a7560cea08e52934cc4d04e319057e8f1}{Misere\+Tic\+Tac\+Toe\+\_\+\+Board}} ()
\item 
bool \mbox{\hyperlink{class_misere_tic_tac_toe___board_af09af728e31d196da80da65cdbfa2a4c}{update\+\_\+board}} (\mbox{\hyperlink{class_move}{Move}}$<$ char $>$ \texorpdfstring{$\ast$}{*}move) override
\begin{DoxyCompactList}\small\item\em Update the board with a new move. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_misere_tic_tac_toe___board_aa309c990de63c0abe122b90075158a3c}{is\+\_\+win}} (\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}player) override
\begin{DoxyCompactList}\small\item\em Check if a player has won. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_misere_tic_tac_toe___board_acf93dc5b834d8739eebeabf8338959e1}{is\+\_\+lose}} (\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}player) override
\begin{DoxyCompactList}\small\item\em Check if a player has lost. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_misere_tic_tac_toe___board_a1cd57774157d148fd287cc75827e929b}{is\+\_\+draw}} (\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}player) override
\begin{DoxyCompactList}\small\item\em Check if the game ended in a draw. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_misere_tic_tac_toe___board_a7ae5dc5b6d45d16da795ecf58b5f5341}{game\+\_\+is\+\_\+over}} (\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}player) override
\begin{DoxyCompactList}\small\item\em Check if the game is over. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{class_board}{Board$<$ char $>$}}}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_board_ae5dfded241ee3644196e2f6074d1d0b1}{Board}} (int \mbox{\hyperlink{class_board_a948d978e3b5fc460559b588f5dee9572}{rows}}, int \mbox{\hyperlink{class_board_afaf8842d9d52ac724e8c2f5642ecafc7}{columns}})
\begin{DoxyCompactList}\small\item\em Construct a board with given dimensions. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_board_a138a6378af669dd1ce55dc11217aea48}{\texorpdfstring{$\sim$}{\string~}\+Board}} ()
\begin{DoxyCompactList}\small\item\em Virtual destructor. Frees allocated board memory. \end{DoxyCompactList}\item 
vector$<$ vector$<$ char $>$ $>$ \mbox{\hyperlink{class_board_a117f2e61fdb7deccca333bbbc9c62d3a}{get\+\_\+board\+\_\+matrix}} () const
\begin{DoxyCompactList}\small\item\em Return a copy of the current board as a 2D vector. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_board_a93b130eff67bd4476fab27be8341cb78}{get\+\_\+rows}} () const
\begin{DoxyCompactList}\small\item\em Get number of rows. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_board_ac665e1ed1f49125fab248e2c9ddfd608}{get\+\_\+columns}} () const
\begin{DoxyCompactList}\small\item\em Get number of columns. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Additional Inherited Members}
\doxysubsection*{Protected Attributes inherited from \mbox{\hyperlink{class_board}{Board$<$ char $>$}}}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{class_board_a948d978e3b5fc460559b588f5dee9572}{rows}}
\begin{DoxyCompactList}\small\item\em Number of rows. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_board_afaf8842d9d52ac724e8c2f5642ecafc7}{columns}}
\begin{DoxyCompactList}\small\item\em Number of columns. \end{DoxyCompactList}\item 
vector$<$ vector$<$ char $>$ $>$ \mbox{\hyperlink{class_board_af00c1fc363eb640ca276b8a572040040}{board}}
\begin{DoxyCompactList}\small\item\em 2D vector for the board \end{DoxyCompactList}\item 
int \mbox{\hyperlink{class_board_a5952baefabced65fecec333de638408d}{n\+\_\+moves}}
\begin{DoxyCompactList}\small\item\em Number of moves made. \end{DoxyCompactList}\end{DoxyCompactItemize}


\label{doc-constructors}
\Hypertarget{class_misere_tic_tac_toe___board_doc-constructors}
\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{class_misere_tic_tac_toe___board_a7560cea08e52934cc4d04e319057e8f1}\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}!MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}
\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}!MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}
\doxysubsubsection{\texorpdfstring{MisereTicTacToe\_Board()}{MisereTicTacToe\_Board()}}
{\footnotesize\ttfamily \label{class_misere_tic_tac_toe___board_a7560cea08e52934cc4d04e319057e8f1} 
Misere\+Tic\+Tac\+Toe\+\_\+\+Board\+::\+Misere\+Tic\+Tac\+Toe\+\_\+\+Board (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\label{doc-func-members}
\Hypertarget{class_misere_tic_tac_toe___board_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{class_misere_tic_tac_toe___board_a7ae5dc5b6d45d16da795ecf58b5f5341}\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}!game\_is\_over@{game\_is\_over}}
\index{game\_is\_over@{game\_is\_over}!MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}
\doxysubsubsection{\texorpdfstring{game\_is\_over()}{game\_is\_over()}}
{\footnotesize\ttfamily \label{class_misere_tic_tac_toe___board_a7ae5dc5b6d45d16da795ecf58b5f5341} 
bool Misere\+Tic\+Tac\+Toe\+\_\+\+Board\+::game\+\_\+is\+\_\+over (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}}]{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Check if the game is over. 



Implements \mbox{\hyperlink{class_board_ae0e4575ec3cc4b6eb9f367ffb2beed13}{Board$<$ char $>$}}.

\Hypertarget{class_misere_tic_tac_toe___board_a1cd57774157d148fd287cc75827e929b}\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}!is\_draw@{is\_draw}}
\index{is\_draw@{is\_draw}!MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}
\doxysubsubsection{\texorpdfstring{is\_draw()}{is\_draw()}}
{\footnotesize\ttfamily \label{class_misere_tic_tac_toe___board_a1cd57774157d148fd287cc75827e929b} 
bool Misere\+Tic\+Tac\+Toe\+\_\+\+Board\+::is\+\_\+draw (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}}]{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Check if the game ended in a draw. 



Implements \mbox{\hyperlink{class_board_a8dbe2a243881986f3e53b45799d377fc}{Board$<$ char $>$}}.

\Hypertarget{class_misere_tic_tac_toe___board_acf93dc5b834d8739eebeabf8338959e1}\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}!is\_lose@{is\_lose}}
\index{is\_lose@{is\_lose}!MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}
\doxysubsubsection{\texorpdfstring{is\_lose()}{is\_lose()}}
{\footnotesize\ttfamily \label{class_misere_tic_tac_toe___board_acf93dc5b834d8739eebeabf8338959e1} 
bool Misere\+Tic\+Tac\+Toe\+\_\+\+Board\+::is\+\_\+lose (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}}]{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Check if a player has lost. 



Implements \mbox{\hyperlink{class_board_a207d5f6feb77f81c51d1462f0245890d}{Board$<$ char $>$}}.

\Hypertarget{class_misere_tic_tac_toe___board_aa309c990de63c0abe122b90075158a3c}\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}!is\_win@{is\_win}}
\index{is\_win@{is\_win}!MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}
\doxysubsubsection{\texorpdfstring{is\_win()}{is\_win()}}
{\footnotesize\ttfamily \label{class_misere_tic_tac_toe___board_aa309c990de63c0abe122b90075158a3c} 
bool Misere\+Tic\+Tac\+Toe\+\_\+\+Board\+::is\+\_\+win (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_player}{Player}}$<$ char $>$ \texorpdfstring{$\ast$}{*}}]{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Check if a player has won. 



Implements \mbox{\hyperlink{class_board_ab316fe3e79677b4617fc3d90d6c48f33}{Board$<$ char $>$}}.

\Hypertarget{class_misere_tic_tac_toe___board_af09af728e31d196da80da65cdbfa2a4c}\index{MisereTicTacToe\_Board@{MisereTicTacToe\_Board}!update\_board@{update\_board}}
\index{update\_board@{update\_board}!MisereTicTacToe\_Board@{MisereTicTacToe\_Board}}
\doxysubsubsection{\texorpdfstring{update\_board()}{update\_board()}}
{\footnotesize\ttfamily \label{class_misere_tic_tac_toe___board_af09af728e31d196da80da65cdbfa2a4c} 
bool Misere\+Tic\+Tac\+Toe\+\_\+\+Board\+::update\+\_\+board (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_move}{Move}}$<$ char $>$ \texorpdfstring{$\ast$}{*}}]{move}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Update the board with a new move. 


\begin{DoxyParams}{Parameters}
{\em move} & The move object containing position and symbol. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if the move is valid and applied, false otherwise. 
\end{DoxyReturn}


Implements \mbox{\hyperlink{class_board_a93d9dec601dda58b7e206ccb47633e57}{Board$<$ char $>$}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_misere_tic_tac_toe_8h}{Misere\+Tic\+Tac\+Toe.\+h}}\end{DoxyCompactItemize}
