position: 打印局面前先加一个换行
This commit is contained in:
parent
0e19426369
commit
3fa33fc9df
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue