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 ]
[  0 ] Twos           [   0 ]
[ 15 ] Threes         [  15 ] *
[ 20 ] Fours          [  20 ] *
[  0 ] Fives          [   0 ]
[ 26 ] Sixes          [  26 ] *
          Upper Total [  61 ]
[ 28 ] 3 of a Kind    [  28 ]
[ 18 ] 4 of a Kind    [  18 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ XX ] Yahtzee        [  50 ]
[ 20 ] Chance         [  20 ]
[ -- ] Chips          [   0 ]
          Lower Total [ 171 ]
       Combined Total [ 232 ]

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

ROLL DISTRIBUTION:
  1 =  20  
  2 =  19  
  3 =  22  
  4 =  23  
  5 =  17  
  6 =  20