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.

[ 10 ] Aces           [  10 ] *
[ 16 ] Twos           [  16 ] *
[ 15 ] Threes         [  15 ] *
[  4 ] Fours          [   4 ]
[ 23 ] Fives          [  23 ] *
[ 26 ] Sixes          [  26 ] *
              *BONUS* [  35 ]
          Upper Total [ 129 ]
[ 17 ] 3 of a Kind    [  17 ]
[ 14 ] 4 of a Kind    [  14 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ XX ] Lg Straight    [  40 ]
[ XX ] Yahtzee        [  50 ]
[ 24 ] Chance         [  24 ]
[  1 ] Chips          [ 100 ]
          Lower Total [ 300 ]
       Combined Total [ 429 ]

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

ROLL DISTRIBUTION:
  1 =  25  
  2 =  19  
  3 =  23  
  4 =  14  
  5 =  20  
  6 =  21