From 0a8facb585414939c17dcea8d8f21e0261de8c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sat, 11 Nov 2023 22:57:09 +0100 Subject: [PATCH] better output: display when draw pile size not feasible --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index cdcfc73..f1c57ca 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) {