Yahtzee Robot

A Perl program I've been tinkering with that plays a game of Yahtzee. It now handles bonus chips for multiple Yahtzees. Refresh this page to see it play again.

[ 14 ] Aces           [  14 ] *
[  4 ] Twos           [   4 ]
[  6 ] Threes         [   6 ]
[  8 ] Fours          [   8 ]
[ 28 ] Fives          [  28 ] *
[ 32 ] Sixes          [  32 ] *
              *BONUS* [  35 ]
          Upper Total [ 127 ]
[ 17 ] 3 of a Kind    [  17 ]
[ 21 ] 4 of a Kind    [  21 ]
[ -- ] Full House     [   0 ]
[ XX ] Sm Straight    [  30 ]
[ XX ] Lg Straight    [  40 ]
[ XX ] Yahtzee        [  50 ]
[ 18 ] Chance         [  18 ]
[ -- ] Chips          [   0 ]
          Lower Total [ 176 ]
       Combined Total [ 303 ]

DIE RESULTS (128 total):
1 6 2 2 6 5 2 6 6 5 2 2 6 2 1 6 2 2 3 6 3 4 5 5 5 2 4 1 1 2 5 4 5 4 2 2 5 5 4 5 1 2 5 3 4 5 5 5 1 5 2 1 2 4 6 3 5 1 2 4 6 1 6 2 3 2 1 1 6 1 2 3 6 6 4 4 3 3 4 2 2 2 6 4 3 2 1 2 1 5 5 4 1 2 6 5 4 3 2 6 6 3 5 6 5 2 5 2 3 3 4 3 3 1 6 3 1 5 2 6 1 1 4 5 4 6 5 1  

ROLL DISTRIBUTION:
  1 =  20  
  2 =  29  
  3 =  16  
  4 =  17  
  5 =  25  
  6 =  21