if ($score > 21 and $ace == 1) { #lines in question for ($i = @$hand; $i--;) { #lines in quest +ion last if $$hand[$i] =~ s/^(\w) a$/$1 1/i; #lines in quest +ion } $score = score( $hand, $dop, $value ); }
In reply to Re: Blackjack problems (multiple reference passes et al)
by I0
in thread Blackjack problems (multiple reference passes et al)
by smgfc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |