better output: display when draw pile size not feasible

This commit is contained in:
Maximilian Keßler 2023-11-11 22:57:09 +01:00
parent a615733350
commit 0a8facb585
Signed by: max
GPG Key ID: BCC5A619923C0BA5

View File

@ -60,6 +60,7 @@ namespace Hanabi {
for(size_t remaining_cards = 1; remaining_cards <= max_draw_pile_size; remaining_cards++) {
if (!game.goto_draw_pile_size(remaining_cards))
{
std::cout << "This given draw pile size (" << remaining_cards << ") cannot be obtained with the specified replay." << std::endl;
continue;
};
if (all_clues) {