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.

[  1 ] Aces           [   1 ]
[ 14 ] Twos           [  14 ] *
[ 18 ] Threes         [  18 ] *
[ 20 ] Fours          [  20 ] *
[ 27 ] Fives          [  27 ] *
[ 12 ] Sixes          [  12 ]
              *BONUS* [  35 ]
          Upper Total [ 127 ]
[  9 ] 3 of a Kind    [   9 ]
[ 28 ] 4 of a Kind    [  28 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ -- ] Lg Straight    [   0 ]
[ XX ] Yahtzee        [  50 ]
[ 20 ] Chance         [  20 ]
[ -- ] Chips          [   0 ]
          Lower Total [ 162 ]
       Combined Total [ 289 ]

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

ROLL DISTRIBUTION:
  1 =  16  
  2 =  27  
  3 =  17  
  4 =  29  
  5 =  11  
  6 =  23