better state printing: ignore trash
This commit is contained in:
parent
e18937c599
commit
43477b1023
1 changed files with 5 additions and 1 deletions
|
@ -294,7 +294,11 @@ namespace Hanabi
|
|||
os << "[";
|
||||
for (hand_index_t index = 0; index < hand.size(); index++)
|
||||
{
|
||||
os << hand[index];
|
||||
if (is_trash(hand[index])) {
|
||||
os << "kt";
|
||||
} else {
|
||||
os << hand[index];
|
||||
}
|
||||
if (is_critical(hand[index])) {
|
||||
os << "!";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue