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 ] *
[  4 ] Twos           [   4 ]
[  6 ] Threes         [   6 ]
[ 20 ] Fours          [  20 ] *
[ 28 ] Fives          [  28 ] *
[ 10 ] Sixes          [  10 ]
              *BONUS* [  35 ]
          Upper Total [ 113 ]
[ 10 ] 3 of a Kind    [  10 ]
[  0 ] 4 of a Kind    [   0 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ -- ] Yahtzee        [   0 ]
[ 21 ] Chance         [  21 ]
[ -- ] Chips          [   0 ]
          Lower Total [  86 ]
       Combined Total [ 199 ]

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

ROLL DISTRIBUTION:
  1 =  30  
  2 =  18  
  3 =  16  
  4 =  32  
  5 =  23  
  6 =  19