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.

[  0 ] Aces           [   0 ]
[  2 ] Twos           [   2 ]
[  4 ] Threes         [   4 ]
[  6 ] Fours          [   6 ]
[  0 ] Fives          [   0 ]
[ 32 ] Sixes          [  32 ] *
          Upper Total [  44 ]
[ 25 ] 3 of a Kind    [  25 ]
[  0 ] 4 of a Kind    [   0 ]
[ XX ] Full House     [  25 ]
[ XX ] Sm Straight    [  30 ]
[ XX ] Lg Straight    [  40 ]
[ XX ] Yahtzee        [  50 ]
[ 22 ] Chance         [  22 ]
[ -- ] Chips          [   0 ]
          Lower Total [ 192 ]
       Combined Total [ 236 ]

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

ROLL DISTRIBUTION:
  1 =  16  
  2 =  18  
  3 =  24  
  4 =  20  
  5 =  19  
  6 =  29