How can "start_balance" be the same as "end_balance", when a bet is made and there was no win? The win needs to be "10" to have the same balance before and after the bet.
the above - you have fudged the logs and not actually done the maths.
fucking shitty sites
Directed @ the site not OP!