better output: display when draw pile size not feasible
This commit is contained in:
parent
a615733350
commit
0a8facb585
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ namespace Hanabi {
|
||||||
for(size_t remaining_cards = 1; remaining_cards <= max_draw_pile_size; remaining_cards++) {
|
for(size_t remaining_cards = 1; remaining_cards <= max_draw_pile_size; remaining_cards++) {
|
||||||
if (!game.goto_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;
|
continue;
|
||||||
};
|
};
|
||||||
if (all_clues) {
|
if (all_clues) {
|
||||||
|
|
Loading…
Reference in a new issue