Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
        return @newdeck;
    }
    
  2. or download this
    sub shuffle {
        my @newdeck;
    ...
        push @newdeck, @_[-$_ - 1, $_] for 0 .. @_ / 2 - 1;
        return @newdeck;
    }
    
  3. or download this
    card4 card1 card3 card2
    card2 card4 card3 card1