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.

[  1 ] Aces           [   1 ]
[ 12 ] Twos           [  12 ] *
[  6 ] Threes         [   6 ]
[  8 ] Fours          [   8 ]
[ 25 ] Fives          [  25 ] *
[ 26 ] Sixes          [  26 ] *
              *BONUS* [  35 ]
          Upper Total [ 113 ]
[ 28 ] 3 of a Kind    [  28 ]
[  0 ] 4 of a Kind    [   0 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ XX ] Lg Straight    [  40 ]
[ XX ] Yahtzee        [  50 ]
[ 16 ] Chance         [  16 ]
[  1 ] Chips          [ 100 ]
          Lower Total [ 289 ]
       Combined Total [ 402 ]

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

ROLL DISTRIBUTION:
  1 =  10  
  2 =  20  
  3 =  18  
  4 =  21  
  5 =  29  
  6 =  21