Go Fish/Raku: Difference between revisions

m
remove unneeded parens and 'do'
m (Categorization now in master page)
m (remove unneeded parens and 'do')
Line 37:
sub readpip (@user_hand) {
my @choices = grep { @user_hand[$^p] }, ^@pips;
if (@choices == 1) {
say "You're obliged to ask for { @ppips[@choices[0]] }.";
return @choices[0];
Line 126:
@.h[$pip] = 0;
while none @.h and $.deck.elems {
say do $.cpu
?? "The dealer's hand is empty, so $foe_nominative_pronoun draws a new card."
!! "Your hand's empty, so you draw a new card.";
Anonymous user