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 ]
[  2 ] Twos           [   2 ]
[ 15 ] Threes         [  15 ] *
[  8 ] Fours          [   8 ]
[ 23 ] Fives          [  23 ] *
[ 26 ] Sixes          [  26 ] *
              *BONUS* [  35 ]
          Upper Total [ 111 ]
[ 16 ] 3 of a Kind    [  16 ]
[ 18 ] 4 of a Kind    [  18 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ XX ] Lg Straight    [  40 ]
[ XX ] Yahtzee        [  50 ]
[ 20 ] Chance         [  20 ]
[ -- ] Chips          [   0 ]
          Lower Total [ 199 ]
       Combined Total [ 310 ]

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

ROLL DISTRIBUTION:
  1 =  21  
  2 =  21  
  3 =  25  
  4 =  19  
  5 =  16  
  6 =  25