mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user