position: 打印局面前先加一个换行

This commit is contained in:
Calcitem 2020-10-25 01:22:17 +08:00
parent 0e19426369
commit 3fa33fc9df
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ std::ostream &operator<<(std::ostream &os, const Position &pos)
#define P(s) PieceToChar(pos.piece_on(Square(s)))
os << "\n";
os << P(31) << " --- " << P(24)<< " --- " << P(25) << "\n";
os << "|\\ | /|\n";
os << "| " << P(23) << " - " << P(16) << " - " << P(17) << " |\n";