aboutsummaryrefslogtreecommitdiffstats
path: root/include/chess_board.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/chess_board.hpp')
-rw-r--r--include/chess_board.hpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/chess_board.hpp b/include/chess_board.hpp
new file mode 100644
index 0000000..fdaf46e
--- /dev/null
+++ b/include/chess_board.hpp
@@ -0,0 +1,41 @@
+/*
+ *
+ * author: Yann Herklotz
+ * username: ymherklotz
+ * email: ymherklotz@gmail.com
+ * date created: 14/01/17
+ *
+ * -----------------------------------------------------------------------------
+ *
+ * Chess Board class that will have all the chess pieces on it
+ *
+ */
+
+#ifndef YMH_CHESS_BOARD_HPP
+#define YMH_CHESS_BOARD_HPP
+
+#include "chess_piece.hpp"
+
+#include <vector>
+#include <memory>
+
+namespace ymhChessAI {
+class ChessBoard;
+
+typedef std::vector<std::unique_ptr<ChessPiece> >::iterator boardIterator;
+typedef std::vector<std::unique_ptr<ChessPiece> > boardVector;
+typedef std::unique_ptr<ChessPiece> chessPiecePtr;
+
+class ChessBoard {
+public:
+ ChessBoard();
+
+ bool populateBoard();
+ bool printBoard();
+protected:
+private:
+ boardVector board;
+};
+}
+
+#endif