blob: fdaf46e350794a45ae0a8085d7a8c3626d576c9c (
plain)
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
|
/*
*
* 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
|