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 ]
[  2 ] Twos           [   2 ]
[  4 ] Threes         [   4 ]
[ 24 ] Fours          [  24 ] *
[  8 ] Fives          [   8 ]
[ 10 ] Sixes          [  10 ]
          Upper Total [  48 ]
[ 13 ] 3 of a Kind    [  13 ]
[  0 ] 4 of a Kind    [   0 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ -- ] Yahtzee        [   0 ]
[ 19 ] Chance         [  19 ]
[ -- ] Chips          [   0 ]
          Lower Total [  87 ]
       Combined Total [ 135 ]

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

ROLL DISTRIBUTION:
  1 =  18  
  2 =  19  
  3 =  19  
  4 =  27  
  5 =  23  
  6 =  22