Yahtzee Robot

A Perl program I've been tinkering with that plays a game of Yahtzee. Alas, it doesn't handle bonus chips yet. Refresh this page to see it play again.

[  2 ] Aces           [   2 ]
[  8 ] Twos           [   8 ] *
[  6 ] Threes         [   6 ]
[ 12 ] Fours          [  12 ] *
[ 10 ] Fives          [  10 ]
[ 12 ] Sixes          [  12 ]
          Upper Total [  50 ]
[ 17 ] 3 of a Kind    [  17 ]
[ 19 ] 4 of a Kind    [  19 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ -- ] Yahtzee        [   0 ]
[ 13 ] Chance         [  13 ]
          Lower Total [ 104 ]
       Combined Total [ 154 ]

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

ROLL DISTRIBUTION:
  1 =  21  
  2 =  27  
  3 =  22  
  4 =  22  
  5 =  15  
  6 =  20