I have highlighted the bits that may be important.
Guys make sure you check your bets, I found a flaw in the seed. I kept seed numbers and results, if anyone wants to help confirm this on PM.
Dean has already addressed this:
there's nothing wrong with the dice game (code)
I'm not sure how he determined that but it is good to know that all the bugs have been resolved.