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.

[  2 ] Aces           [   2 ]
[  4 ] Twos           [   4 ]
[  3 ] Threes         [   3 ]
[ 20 ] Fours          [  20 ] *
[ 27 ] Fives          [  27 ] *
[ 32 ] Sixes          [  32 ] *
              *BONUS* [  35 ]
          Upper Total [ 123 ]
[ 15 ] 3 of a Kind    [  15 ]
[  0 ] 4 of a Kind    [   0 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ XX ] Yahtzee        [  50 ]
[ 10 ] Chance         [  10 ]
[ -- ] Chips          [   0 ]
          Lower Total [ 130 ]
       Combined Total [ 253 ]

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

ROLL DISTRIBUTION:
  1 =  19  
  2 =  26  
  3 =  22  
  4 =  28  
  5 =  15  
  6 =  27