Page 2 of 2

Re: Bug found in hanabi, please upvote

Posted: 07 October 2024, 22:28
by Blacktango
Are we sure that $deckcards is the number-of-cards-remaining-in-draw-pile, and not the total number?
$deckcards is the list of the cards in the deck.
$nbr_cards is the number of cards in this list (that the purpose of the count() function)