Re: Betpot script for Ongame network ? (payment for publishing code)
ahh, the script assumes . is the decimal separator.
also, the calculation the script does is
bet = (pot + 2 * call) * fraction
when it should be
bet = (pot + call) * fraction + call
but that makes no difference when fraction is 1.
Also, both calculations will fail for a re-reraise...
|