19 #include <core/utils.h> 26 virtual ~Player() =
default;
29 virtual void newGame(
const Board* board, Board::Piece side) {
30 CHECK(side != Board::Piece::Empty);
36 virtual int move() = 0;
38 virtual string name()
const = 0;
40 Board::Piece side()
const {
return side_; }
43 const Board* board_ =
nullptr;
44 Board::Piece side_ = Board::Piece::Empty;
Definition: ann_player.cpp:24