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.

[  0 ] Aces           [   0 ]
[ 14 ] Twos           [  14 ] *
[  6 ] Threes         [   6 ]
[ 20 ] Fours          [  20 ] *
[ 27 ] Fives          [  27 ] *
[ 26 ] Sixes          [  26 ] *
              *BONUS* [  35 ]
          Upper Total [ 128 ]
[ 24 ] 3 of a Kind    [  24 ]
[  0 ] 4 of a Kind    [   0 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ -- ] Yahtzee        [   0 ]
[ 23 ] Chance         [  23 ]
[ -- ] Chips          [   0 ]
          Lower Total [ 102 ]
       Combined Total [ 230 ]

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

ROLL DISTRIBUTION:
  1 =  14  
  2 =  23  
  3 =  25  
  4 =  20  
  5 =  26  
  6 =  18