Print the move in addition to position

Teach Position::print() to optionally print a
given move in san notation in addition to
the ASCII representation of the board.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2008-11-15 08:14:28 +01:00
parent 7000e100bd
commit 3c05bd70eb
2 changed files with 28 additions and 20 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ public:
// Text input/output
void from_fen(const std::string &fen);
const std::string to_fen() const;
void print() const;
void print(Move m = MOVE_NONE) const;
// Copying
void copy(const Position &pos);