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 ]
[  4 ] Twos           [   4 ]
[  9 ] Threes         [   9 ] *
[ 16 ] Fours          [  16 ] *
[ 15 ] Fives          [  15 ] *
[ 12 ] Sixes          [  12 ]
          Upper Total [  58 ]
[ 21 ] 3 of a Kind    [  21 ]
[  0 ] 4 of a Kind    [   0 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ XX ] Yahtzee        [  50 ]
[ 27 ] Chance         [  27 ]
          Lower Total [ 153 ]
       Combined Total [ 211 ]

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

ROLL DISTRIBUTION:
  1 =  19  
  2 =  25  
  3 =  23  
  4 =  20  
  5 =  31  
  6 =  21