@Dank
Your code isn't fair, its in your favour if they bet under, so claiming it's "100% fair" doesn't really add up.
Also, you claim the "mt_rand" function is the reason its fair, this is just a function for generating random numbers that's slightly quicker than the normal one, and...