diff options
-rw-r--r-- | board.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -190,6 +190,12 @@ void Board::write(ostream &os) const { } os << endl; } + + os << "Bag:"; + for (uint8_t clr = 1; clr <= NC; clr++) { + os << ' ' << bag.numLeft(clr); + } + os << " / " << bag.totalLeft() << endl; } ostream& operator<<(ostream &os, Stone stone) { |